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.002298/0.002297, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.3 MB / 214.1 MB, free: 14.12 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 94.3 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.671e-05/1.682e-05, allocations: 0 / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3287, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.4532, allocations: 74.97 MB / 437.3 MB, free: 11.37 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4535, allocations: 63.97 kB / 437.3 MB, free: 11.31 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.005391/0.4589, allocations: 1.29 MB / 438.6 MB, free: 10.04 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.459, allocations: 0 / 438.6 MB, free: 10.04 MB / 331.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.459, allocations: 0 / 438.6 MB, free: 10.04 MB / 331.1 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.000624/0.4596, allocations: 380.2 kB / 439 MB, free: 9.629 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.4597, allocations: 12.03 kB / 439 MB, free: 9.617 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.4597, allocations: 1.875 kB / 439 MB, free: 9.617 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.4599, allocations: 171.8 kB / 439.2 MB, free: 9.41 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.4599, allocations: 7.984 kB / 439.2 MB, free: 9.402 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.4599, allocations: 0 / 439.2 MB, free: 9.402 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001556/0.4601, allocations: 41.14 kB / 439.2 MB, free: 9.363 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.4603, allocations: 53.39 kB / 439.3 MB, free: 9.309 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.4603, allocations: 0 / 439.3 MB, free: 9.309 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.4603, allocations: 2 kB / 439.3 MB, free: 9.309 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.4603, allocations: 4 kB / 439.3 MB, free: 9.305 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.4608, allocations: 290 kB / 439.6 MB, free: 8.984 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.461, allocations: 53.75 kB / 439.6 MB, free: 8.926 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.4611, allocations: 16.98 kB / 439.6 MB, free: 8.906 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.4611, allocations: 0 / 439.6 MB, free: 8.906 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.4611, allocations: 34.56 kB / 439.7 MB, free: 8.863 MB / 331.1 MB Notification: Performance of pre-optimization done (n=5): time 1.522e-06/0.4612, allocations: 0 / 439.7 MB, free: 8.863 MB / 331.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002409/0.4614, allocations: 63.69 kB / 439.7 MB, free: 8.797 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.4615, allocations: 55.05 kB / 439.8 MB, free: 8.734 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.505e-05/0.4616, allocations: 103.5 kB / 439.9 MB, free: 8.629 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.4616, allocations: 25.7 kB / 439.9 MB, free: 8.598 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.216e-05/0.4617, allocations: 158.5 kB / 440.1 MB, free: 8.441 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.4617, allocations: 23.8 kB / 440.1 MB, free: 8.418 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.4617, allocations: 0 / 440.1 MB, free: 8.418 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4619, allocations: 310.8 kB / 440.4 MB, free: 8.105 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.725e-05/0.4619, allocations: 12 kB / 440.4 MB, free: 8.094 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.841e-05/0.462, allocations: 16 kB / 440.4 MB, free: 8.078 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.911e-05/0.4621, allocations: 11.98 kB / 440.4 MB, free: 8.066 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4621, allocations: 7.953 kB / 440.5 MB, free: 8.059 MB / 331.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001538/0.4622, allocations: 53.7 kB / 440.5 MB, free: 8 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4623, allocations: 8 kB / 440.5 MB, free: 7.992 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4623, allocations: 4 kB / 440.5 MB, free: 7.988 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.4623, allocations: 4.641 kB / 440.5 MB, free: 7.984 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.4626, allocations: 19.98 kB / 440.5 MB, free: 7.965 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.4626, allocations: 4 kB / 440.5 MB, free: 7.961 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.4628, allocations: 23.86 kB / 440.6 MB, free: 7.938 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.4628, allocations: 0 / 440.6 MB, free: 7.938 MB / 331.1 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 () * 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 8.629e-05/0.4629, allocations: 105 kB / 440.7 MB, free: 7.828 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.4629, allocations: 19.78 kB / 440.7 MB, free: 7.809 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.4632, allocations: 78.08 kB / 440.8 MB, free: 7.723 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.4632, allocations: 1.938 kB / 440.8 MB, free: 7.723 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4632, allocations: 2.719 kB / 440.8 MB, free: 7.723 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4632, allocations: 0 / 440.8 MB, free: 7.723 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.4634, allocations: 158.2 kB / 440.9 MB, free: 7.531 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4635, allocations: 0 / 440.9 MB, free: 7.531 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.4637, allocations: 27.98 kB / 441 MB, free: 7.504 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.4637, allocations: 7.953 kB / 441 MB, free: 7.496 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.4637, allocations: 3.938 kB / 441 MB, free: 7.492 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4637, allocations: 3.984 kB / 441 MB, free: 7.488 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4638, allocations: 0 / 441 MB, free: 7.488 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.464, allocations: 167.5 kB / 441.1 MB, free: 7.309 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.4641, allocations: 85.02 kB / 441.2 MB, free: 7.207 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.4641, allocations: 3.953 kB / 441.2 MB, free: 7.203 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.4643, allocations: 15.98 kB / 441.2 MB, free: 7.188 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.4644, allocations: 11.05 kB / 441.2 MB, free: 7.18 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.4644, allocations: 0 / 441.2 MB, free: 7.18 MB / 331.1 MB Notification: Performance of sorting global known variables: time 5.814e-05/0.4645, allocations: 87.28 kB / 441.3 MB, free: 7.094 MB / 331.1 MB Notification: Performance of sort global known variables: time 4e-07/0.4645, allocations: 0 / 441.3 MB, free: 7.094 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.000309/0.4648, allocations: 19.94 kB / 441.3 MB, free: 7.074 MB / 331.1 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 () * 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.0001637/0.465, allocations: 107.2 kB / 441.5 MB, free: 6.961 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.4651, allocations: 35.98 kB / 441.5 MB, free: 6.926 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4651, allocations: 2.156 kB / 441.5 MB, free: 6.926 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 7.471e-05/0.4652, allocations: 20.78 kB / 441.5 MB, free: 6.906 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.4655, allocations: 8 kB / 441.5 MB, free: 6.898 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.4659, allocations: 122.3 kB / 441.6 MB, free: 6.746 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.4662, allocations: 0.6923 MB / 442.3 MB, free: 6.027 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.4663, allocations: 11.44 kB / 442.3 MB, free: 6.02 MB / 331.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4663, allocations: 0 / 442.3 MB, free: 6.02 MB / 331.1 MB Notification: Performance of Templates: time 0.003175/0.4694, allocations: 0.9415 MB / 443.3 MB, free: 5.094 MB / 331.1 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