Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 181.1 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0009401/0.0009398, allocations: 92.09 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.0004889, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3279, allocations: 47.56 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.446, allocations: 75.71 MB / 451.5 MB, free: 4.965 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.4463, allocations: 63.97 kB / 451.6 MB, free: 4.902 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004109/0.4504, allocations: 1.31 MB / 452.9 MB, free: 3.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.4505, allocations: 3.938 kB / 452.9 MB, free: 3.586 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.4505, allocations: 4 kB / 452.9 MB, free: 3.582 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006132/0.4511, allocations: 383.2 kB / 453.3 MB, free: 3.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.4512, allocations: 8.031 kB / 453.3 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.4512, allocations: 7.906 kB / 453.3 MB, free: 3.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.4514, allocations: 170.9 kB / 453.4 MB, free: 2.938 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.4515, allocations: 4 kB / 453.4 MB, free: 2.934 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.4515, allocations: 7.984 kB / 453.5 MB, free: 2.926 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.4518, allocations: 101.6 kB / 453.6 MB, free: 2.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4519, allocations: 0 / 453.6 MB, free: 2.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.4519, allocations: 4 kB / 453.6 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.4519, allocations: 0 / 453.6 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.4523, allocations: 103.9 kB / 453.7 MB, free: 2.715 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.4528, allocations: 308.8 kB / 454 MB, free: 2.363 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.4531, allocations: 86.56 kB / 454 MB, free: 2.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.4531, allocations: 0 / 454 MB, free: 2.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.4532, allocations: 38.55 kB / 454.1 MB, free: 2.223 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.4532, allocations: 0 / 454.1 MB, free: 2.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006062/0.4538, allocations: 177.6 kB / 454.3 MB, free: 2.043 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.4539, allocations: 59.41 kB / 454.3 MB, free: 1.973 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.603e-05/0.4539, allocations: 101 kB / 454.4 MB, free: 1.867 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.454, allocations: 29.64 kB / 454.4 MB, free: 1.832 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.454, allocations: 100.4 kB / 454.5 MB, free: 1.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.4541, allocations: 11.75 kB / 454.6 MB, free: 1.719 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/0.4541, allocations: 0 / 454.6 MB, free: 1.719 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.4542, allocations: 326.8 kB / 454.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.4544, allocations: 51.91 kB / 454.9 MB, free: 1.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.4546, allocations: 47.95 kB / 455 MB, free: 1.293 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.4547, allocations: 47.97 kB / 455 MB, free: 1.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4547, allocations: 0 / 455 MB, free: 1.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003597/0.4551, allocations: 129.6 kB / 455.1 MB, free: 1.113 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.4551, allocations: 10.39 kB / 455.2 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4552, allocations: 0 / 455.2 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.4552, allocations: 3.938 kB / 455.2 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.4554, allocations: 28.42 kB / 455.2 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.4554, allocations: 7.938 kB / 455.2 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.577e-05/0.4555, allocations: 15.98 kB / 455.2 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.4555, allocations: 0 / 455.2 MB, free: 1.051 MB / 330.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.0001021/0.4556, allocations: 121.8 kB / 455.3 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.4556, allocations: 7.906 kB / 455.3 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004563/0.4561, allocations: 149.6 kB / 455.5 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.4561, allocations: 4 kB / 455.5 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.127e-05/0.4562, allocations: 0 / 455.5 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.4562, allocations: 3.984 kB / 455.5 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.4564, allocations: 189.6 kB / 455.7 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4564, allocations: 0 / 455.7 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.4565, allocations: 27.92 kB / 455.7 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4566, allocations: 0 / 455.7 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.4566, allocations: 3.984 kB / 455.7 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4566, allocations: 4 kB / 455.7 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4566, allocations: 4 kB / 455.7 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.457, allocations: 235.4 kB / 455.9 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.4571, allocations: 88.91 kB / 456 MB, free: 136 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.4571, allocations: 7.984 kB / 456 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.4573, allocations: 15.98 kB / 456.1 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.4573, allocations: 7.984 kB / 456.1 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.4573, allocations: 8 kB / 456.1 MB, free: 96 kB / 330.7 MB Notification: Performance of sorting global known variables: time 4.981e-05/0.4574, allocations: 83.28 kB / 456.1 MB, free: 12 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4574, allocations: 4 kB / 456.2 MB, free: 8 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.4576, allocations: 8.281 kB / 456.2 MB, free: 0 / 330.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.0002144/0.4578, allocations: 111.2 kB / 456.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003936/0.4582, allocations: 103.9 kB / 456.4 MB, free: 15.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4583, allocations: 7.938 kB / 456.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.4584, allocations: 67.88 kB / 456.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.4587, allocations: 4 kB / 456.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.4591, allocations: 183.8 kB / 456.6 MB, free: 15.49 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.4594, allocations: 0.6887 MB / 457.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.787e-05/0.4594, allocations: 8 kB / 457.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.4594, allocations: 7.438 kB / 457.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4595, allocations: 4 kB / 457.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of Templates: time 0.003062/0.4625, allocations: 0.7508 MB / 458.1 MB, free: 14.02 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches