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.0009299/0.00093, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.331/1.331, allocations: 223.2 MB / 240.3 MB, free: 10.15 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.0008264/0.0008265, allocations: 85.09 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002931, allocations: 7.938 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2694, allocations: 50.41 MB / 401.5 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.097/0.3664, allocations: 76.58 MB / 478.1 MB, free: 3.859 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/0.3667, allocations: 68.66 kB / 478.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003466/0.3701, allocations: 1.349 MB / 479.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3702, allocations: 0 / 479.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3702, allocations: 0 / 479.5 MB, free: 2.453 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.0004661/0.3706, allocations: 391.1 kB / 479.9 MB, free: 2.023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3707, allocations: 8.031 kB / 479.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.3707, allocations: 11.86 kB / 479.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3709, allocations: 167 kB / 480.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3709, allocations: 8 kB / 480.1 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.3709, allocations: 4 kB / 480.1 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.3712, allocations: 101.6 kB / 480.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3712, allocations: 0 / 480.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3712, allocations: 0 / 480.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3712, allocations: 4 kB / 480.2 MB, free: 1.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.3716, allocations: 103.8 kB / 480.3 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.372, allocations: 304.8 kB / 480.6 MB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.3722, allocations: 82.53 kB / 480.6 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.3722, allocations: 4.688 kB / 480.6 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.3723, allocations: 42.5 kB / 480.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/0.3723, allocations: 0 / 480.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005878/0.3729, allocations: 181.6 kB / 480.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.3729, allocations: 51.41 kB / 480.9 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.126e-05/0.373, allocations: 112.9 kB / 481 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.373, allocations: 25.7 kB / 481.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.373, allocations: 88.12 kB / 481.1 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.3731, allocations: 23.66 kB / 481.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.3731, allocations: 0 / 481.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.3732, allocations: 314.8 kB / 481.5 MB, free: 268 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3733, allocations: 55.91 kB / 481.5 MB, free: 212 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.3735, allocations: 48.2 kB / 481.6 MB, free: 164 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.3736, allocations: 51.97 kB / 481.6 MB, free: 112 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3737, allocations: 0 / 481.6 MB, free: 112 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003533/0.374, allocations: 129.6 kB / 481.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.374, allocations: 15.94 kB / 481.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3741, allocations: 0 / 481.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.3741, allocations: 0 / 481.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.3742, allocations: 23.98 kB / 481.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3742, allocations: 0 / 481.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.944e-05/0.3743, allocations: 15.98 kB / 481.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3743, allocations: 4 kB / 481.8 MB, free: 15.92 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 7.413e-05/0.3744, allocations: 118.1 kB / 481.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.3745, allocations: 7.906 kB / 481.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003922/0.3749, allocations: 161.5 kB / 482.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3749, allocations: 0 / 482.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3749, allocations: 3.938 kB / 482.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3749, allocations: 3.984 kB / 482.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.3751, allocations: 181.6 kB / 482.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3751, allocations: 3.984 kB / 482.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.3752, allocations: 23.98 kB / 482.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.3752, allocations: 0 / 482.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3752, allocations: 11.98 kB / 482.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.3752, allocations: 7.891 kB / 482.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3752, allocations: 0 / 482.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.3756, allocations: 243.4 kB / 482.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.3757, allocations: 84.95 kB / 482.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.3757, allocations: 3.984 kB / 482.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.3758, allocations: 23.98 kB / 482.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.3759, allocations: 11.94 kB / 482.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.3759, allocations: 3.938 kB / 482.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.131e-05/0.3759, allocations: 87.28 kB / 482.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3759, allocations: 0 / 482.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.3762, allocations: 20 kB / 482.8 MB, free: 14.84 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.000127/0.3763, allocations: 111.2 kB / 482.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003765/0.3767, allocations: 104.1 kB / 483 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3767, allocations: 0 / 483 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.3769, allocations: 55.95 kB / 483.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.3771, allocations: 10.92 kB / 483.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.3774, allocations: 182.7 kB / 483.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.3776, allocations: 0.6887 MB / 483.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.661e-05/0.3777, allocations: 8 kB / 483.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.3777, allocations: 15.44 kB / 484 MB, free: 13.61 MB / 362.7 MB Notification: Performance of SimCode: time 4.8e-07/0.3777, allocations: 0 / 484 MB, free: 13.61 MB / 362.7 MB Notification: Performance of Templates: time 0.002555/0.3803, allocations: 0.7626 MB / 484.7 MB, free: 12.86 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/jenkins/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