Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002508/0.002508, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002538/0.002538, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.133e-05/3.149e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09518/0.09523, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4021/0.4974, allocations: 79.28 MB / 448.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.4978, allocations: 70.41 kB / 448.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02669/0.5245, allocations: 5.699 MB / 454.1 MB, free: 9.078 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5245, allocations: 0 / 454.1 MB, free: 9.078 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.312e-05/0.5246, allocations: 7.938 kB / 454.1 MB, free: 9.07 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008945/0.5255, allocations: 486.1 kB / 454.6 MB, free: 8.555 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.5256, allocations: 8.031 kB / 454.6 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.5257, allocations: 19.8 kB / 454.6 MB, free: 8.527 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005787/0.5263, allocations: 269.1 kB / 454.9 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.5263, allocations: 4 kB / 454.9 MB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.5264, allocations: 7.125 kB / 454.9 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002759/0.5267, allocations: 118 kB / 455 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.5267, allocations: 0 / 455 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.5267, allocations: 3.062 kB / 455 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.5267, allocations: 4 kB / 455 MB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.5269, allocations: 44.73 kB / 455.1 MB, free: 8.078 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009305/0.5279, allocations: 0.6154 MB / 455.7 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.5282, allocations: 122.6 kB / 455.8 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.5283, allocations: 49.95 kB / 455.8 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.5283, allocations: 4.062 kB / 455.9 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/0.5286, allocations: 118.4 kB / 456 MB, free: 7.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.745e-06/0.5286, allocations: 0 / 456 MB, free: 7.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004541/0.5291, allocations: 133.1 kB / 456.1 MB, free: 7.043 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.5292, allocations: 140.1 kB / 456.2 MB, free: 6.879 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/0.5297, allocations: 256.4 kB / 456.5 MB, free: 6.668 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.5298, allocations: 33.58 kB / 456.5 MB, free: 6.633 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.5299, allocations: 174.8 kB / 456.7 MB, free: 6.477 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.406e-05/0.53, allocations: 30.86 kB / 456.7 MB, free: 6.449 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.53, allocations: 6.781 kB / 456.7 MB, free: 6.445 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5302, allocations: 314.2 kB / 457 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/0.5303, allocations: 30.38 kB / 457.1 MB, free: 6.113 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.5304, allocations: 76.39 kB / 457.1 MB, free: 6.031 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.5306, allocations: 45.97 kB / 457.2 MB, free: 5.996 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5306, allocations: 0 / 457.2 MB, free: 5.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003077/0.5309, allocations: 112.5 kB / 457.3 MB, free: 5.902 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5309, allocations: 8 kB / 457.3 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5309, allocations: 0 / 457.3 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.531, allocations: 4 kB / 457.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.5311, allocations: 22.92 kB / 457.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.5312, allocations: 0 / 457.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.5314, allocations: 20.08 kB / 457.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.5314, allocations: 5.125 kB / 457.3 MB, free: 5.848 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,$PRE.pulse.pulseStart,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.5316, allocations: 130.4 kB / 457.5 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.863e-05/0.5317, allocations: 19.72 kB / 457.5 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/0.532, allocations: 111.9 kB / 457.6 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.532, allocations: 4 kB / 457.6 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.532, allocations: 4 kB / 457.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5321, allocations: 0 / 457.6 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.5324, allocations: 248.2 kB / 457.9 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.5324, allocations: 7.953 kB / 457.9 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.5325, allocations: 10.67 kB / 457.9 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.5325, allocations: 4 kB / 457.9 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.5326, allocations: 3.938 kB / 457.9 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5326, allocations: 80 / 457.9 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5326, allocations: 11.97 kB / 457.9 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.533, allocations: 198.6 kB / 458.1 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.5331, allocations: 111.1 kB / 458.2 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.5332, allocations: 0 / 458.2 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.5334, allocations: 18.92 kB / 458.2 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.5335, allocations: 15.23 kB / 458.2 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.5335, allocations: 4 kB / 458.2 MB, free: 4.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003617/0.5339, allocations: 218.2 kB / 458.4 MB, free: 4.773 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5339, allocations: 0 / 458.4 MB, free: 4.773 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000407/0.5343, allocations: 42.31 kB / 458.5 MB, free: 4.738 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/0.5355, allocations: 383.2 kB / 458.9 MB, free: 4.371 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004117/0.536, allocations: 85.92 kB / 458.9 MB, free: 4.309 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.536, allocations: 4 kB / 458.9 MB, free: 4.305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.5362, allocations: 58.53 kB / 459 MB, free: 4.262 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.5367, allocations: 47.3 kB / 459.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008143/0.5375, allocations: 305.8 kB / 459.4 MB, free: 3.926 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.538, allocations: 0.7396 MB / 460.1 MB, free: 3.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.5381, allocations: 23.19 kB / 460.1 MB, free: 3.145 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5381, allocations: 0 / 460.1 MB, free: 3.145 MB / 330.7 MB Notification: Performance of Templates: time 0.008115/0.5462, allocations: 2.913 MB / 463 MB, free: 256 kB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.ShowLogicalSources.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.ShowLogicalSources --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.ShowLogicalSources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches