Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001974/0.001974, allocations: 180.5 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.322/3.322, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001395/0.001394, allocations: 94.22 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005017, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5482/0.5488, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.7396, allocations: 75.75 MB / 451.5 MB, free: 4.895 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004087/0.7401, allocations: 63.97 kB / 451.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005418/0.7456, allocations: 1.298 MB / 452.8 MB, free: 3.531 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.5e-06/0.7456, allocations: 224 / 452.8 MB, free: 3.531 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.7457, allocations: 4 kB / 452.8 MB, free: 3.527 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.0007267/0.7464, allocations: 387.3 kB / 453.2 MB, free: 3.098 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/0.7465, allocations: 8.031 kB / 453.2 MB, free: 3.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.7466, allocations: 8.844 kB / 453.2 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.7468, allocations: 176.2 kB / 453.4 MB, free: 2.871 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.7468, allocations: 4.375 kB / 453.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.7468, allocations: 4.375 kB / 453.4 MB, free: 2.863 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.7472, allocations: 94.2 kB / 453.5 MB, free: 2.766 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.7473, allocations: 192 / 453.5 MB, free: 2.766 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.7473, allocations: 7.938 kB / 453.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.7473, allocations: 0 / 453.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.7478, allocations: 99.92 kB / 453.6 MB, free: 2.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.7484, allocations: 320.6 kB / 453.9 MB, free: 2.297 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.7488, allocations: 86.52 kB / 454 MB, free: 2.203 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.749, allocations: 56.95 kB / 454 MB, free: 2.145 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.749, allocations: 4.031 kB / 454.1 MB, free: 2.141 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.7491, allocations: 30.56 kB / 454.1 MB, free: 2.102 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.7491, allocations: 4 kB / 454.1 MB, free: 2.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.005068/0.7542, allocations: 185.8 kB / 454.3 MB, free: 1.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.7543, allocations: 51.41 kB / 454.3 MB, free: 1.848 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.7545, allocations: 113.8 kB / 454.4 MB, free: 1.727 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.7545, allocations: 25.7 kB / 454.5 MB, free: 1.695 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.7546, allocations: 100 kB / 454.6 MB, free: 1.594 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.7546, allocations: 15.75 kB / 454.6 MB, free: 1.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.7547, allocations: 0 / 454.6 MB, free: 1.578 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.7548, allocations: 322.8 kB / 454.9 MB, free: 1.254 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.7551, allocations: 47.91 kB / 454.9 MB, free: 1.207 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.7553, allocations: 51.95 kB / 455 MB, free: 1.156 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.7557, allocations: 104.8 kB / 455.1 MB, free: 1.051 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7557, allocations: 0 / 455.1 MB, free: 1.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004772/0.7562, allocations: 133.5 kB / 455.2 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.7562, allocations: 8 kB / 455.2 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.7563, allocations: 0 / 455.2 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.7563, allocations: 7.938 kB / 455.2 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.7565, allocations: 19.98 kB / 455.2 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.7565, allocations: 7.922 kB / 455.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.7567, allocations: 15.98 kB / 455.3 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.7567, allocations: 4 kB / 455.3 MB, free: 0.8516 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.000128/0.7568, allocations: 117.8 kB / 455.4 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.7569, allocations: 4 kB / 455.4 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005813/0.7575, allocations: 153.6 kB / 455.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.7575, allocations: 0 / 455.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.7575, allocations: 0 / 455.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.7575, allocations: 0 / 455.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.7579, allocations: 193.5 kB / 455.7 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7579, allocations: 0 / 455.7 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.7581, allocations: 35.91 kB / 455.8 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.7582, allocations: 0 / 455.8 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.7582, allocations: 4 kB / 455.8 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.7582, allocations: 0 / 455.8 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.7582, allocations: 0 / 455.8 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000749/0.759, allocations: 239.4 kB / 456 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.7591, allocations: 84.95 kB / 456.1 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.7592, allocations: 256 / 456.1 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.7594, allocations: 23.98 kB / 456.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.7595, allocations: 11.98 kB / 456.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.7595, allocations: 0 / 456.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.074e-05/0.7596, allocations: 95.58 kB / 456.2 MB, free: 15.81 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7597, allocations: 0 / 456.2 MB, free: 15.81 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004564/0.7601, allocations: 16 kB / 456.2 MB, free: 15.79 MB / 346.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.00032/0.7605, allocations: 103.2 kB / 456.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007396/0.7612, allocations: 120 kB / 456.5 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.7613, allocations: 0 / 456.5 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.7616, allocations: 59.91 kB / 456.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005683/0.7622, allocations: 11.98 kB / 456.5 MB, free: 15.49 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/0.763, allocations: 209 kB / 456.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.7635, allocations: 0.6926 MB / 457.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.7636, allocations: 7.438 kB / 457.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.7636, allocations: 0 / 457.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of Templates: time 0.00444/0.7681, allocations: 0.9485 MB / 458.4 MB, free: 13.59 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/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_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches