Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001324, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.3 MB / 241.4 MB, free: 9.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007813/0.0007814, allocations: 100.3 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003496, allocations: 15.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3, allocations: 50.39 MB / 402.7 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.431, allocations: 76.62 MB / 479.3 MB, free: 3.695 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.4313, allocations: 67.97 kB / 479.4 MB, free: 3.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004878/0.4362, allocations: 1.349 MB / 480.8 MB, free: 2.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4362, allocations: 0 / 480.8 MB, free: 2.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.4363, allocations: 0 / 480.8 MB, free: 2.285 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005991/0.4369, allocations: 387.3 kB / 481.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.4369, allocations: 12.03 kB / 481.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/0.437, allocations: 4.844 kB / 481.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.4371, allocations: 180.2 kB / 481.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.4372, allocations: 4.375 kB / 481.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.4372, allocations: 4.375 kB / 481.3 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.4376, allocations: 98.14 kB / 481.4 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4376, allocations: 192 / 481.4 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.4376, allocations: 7.938 kB / 481.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.4376, allocations: 0 / 481.4 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.4381, allocations: 107.9 kB / 481.6 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006313/0.4387, allocations: 308.7 kB / 481.9 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.4391, allocations: 86.53 kB / 481.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.4393, allocations: 53.59 kB / 482 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.4393, allocations: 0 / 482 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.4394, allocations: 42.56 kB / 482 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.4394, allocations: 0 / 482 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007651/0.4401, allocations: 181.6 kB / 482.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.4402, allocations: 51.41 kB / 482.3 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.816e-05/0.4403, allocations: 113.8 kB / 482.4 MB, free: 496 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.4403, allocations: 29.7 kB / 482.4 MB, free: 460 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.4404, allocations: 92.05 kB / 482.5 MB, free: 364 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.4405, allocations: 19.73 kB / 482.5 MB, free: 344 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.4405, allocations: 0 / 482.5 MB, free: 344 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4406, allocations: 318.8 kB / 482.8 MB, free: 16 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.4409, allocations: 51.95 kB / 482.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.4411, allocations: 43.97 kB / 482.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.4415, allocations: 104.7 kB / 483 MB, free: 15.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4415, allocations: 384 / 483 MB, free: 15.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004769/0.442, allocations: 137.9 kB / 483.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.442, allocations: 4 kB / 483.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.442, allocations: 4.062 kB / 483.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.4421, allocations: 11.92 kB / 483.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.4422, allocations: 23.98 kB / 483.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.4423, allocations: 0 / 483.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.4424, allocations: 15.98 kB / 483.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.4424, allocations: 4 kB / 483.2 MB, free: 15.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001157/0.4425, allocations: 121.8 kB / 483.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.4426, allocations: 4 kB / 483.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005232/0.4431, allocations: 149.5 kB / 483.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4431, allocations: 0 / 483.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4432, allocations: 0 / 483.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.4432, allocations: 4 kB / 483.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.4435, allocations: 197.5 kB / 483.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4435, allocations: 0 / 483.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001626/0.4436, allocations: 27.98 kB / 483.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.4437, allocations: 4 kB / 483.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.4437, allocations: 0 / 483.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.4437, allocations: 0 / 483.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4437, allocations: 3.984 kB / 483.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.4442, allocations: 239.4 kB / 483.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.4443, allocations: 92.95 kB / 484 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.4443, allocations: 7.984 kB / 484 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.4445, allocations: 15.98 kB / 484.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.4446, allocations: 7.938 kB / 484.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.4446, allocations: 3.984 kB / 484.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.051e-05/0.4446, allocations: 87.28 kB / 484.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4447, allocations: 0 / 484.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003566/0.445, allocations: 16 kB / 484.2 MB, free: 14.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001742/0.4452, allocations: 111.2 kB / 484.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.4457, allocations: 115.8 kB / 484.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4457, allocations: 0 / 484.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.4459, allocations: 63.95 kB / 484.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.4463, allocations: 6.969 kB / 484.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.4468, allocations: 186.5 kB / 484.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.4472, allocations: 0.6926 MB / 485.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.779e-05/0.4472, allocations: 3.984 kB / 485.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.4473, allocations: 11.44 kB / 485.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4473, allocations: 0 / 485.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of Templates: time 0.003652/0.451, allocations: 0.7548 MB / 486.1 MB, free: 12.56 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches