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.001222/0.001222, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.267/1.267, allocations: 221.3 MB / 235.5 MB, free: 2.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008549/0.0008548, allocations: 91.78 kB / 286.5 MB, free: 176 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.033e-05/2.033e-05, allocations: 4 kB / 343.8 MB, free: 4.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08654/0.08657, allocations: 50.41 MB / 394.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.27/0.3566, allocations: 76.52 MB / 470.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/0.3568, allocations: 63.97 kB / 470.8 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003687/0.3605, allocations: 1.346 MB / 472.2 MB, free: 9.656 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3606, allocations: 0 / 472.2 MB, free: 9.656 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3606, allocations: 0 / 472.2 MB, free: 9.656 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.0004519/0.361, allocations: 382.9 kB / 472.5 MB, free: 9.238 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3611, allocations: 8.031 kB / 472.5 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.3611, allocations: 7.953 kB / 472.5 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.3613, allocations: 175 kB / 472.7 MB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.3613, allocations: 0 / 472.7 MB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.3613, allocations: 8 kB / 472.7 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.3615, allocations: 65.62 kB / 472.8 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3615, allocations: 3.938 kB / 472.8 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3615, allocations: 4 kB / 472.8 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3615, allocations: 0 / 472.8 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.135e-05/0.3616, allocations: 35.95 kB / 472.8 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.362, allocations: 308.6 kB / 473.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.3622, allocations: 54.56 kB / 473.2 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.601e-05/0.3622, allocations: 20.98 kB / 473.2 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3623, allocations: 7.953 kB / 473.2 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.3623, allocations: 30.56 kB / 473.2 MB, free: 8.406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/0.3623, allocations: 0 / 473.2 MB, free: 8.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000172/0.3625, allocations: 69.72 kB / 473.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.3625, allocations: 51.41 kB / 473.4 MB, free: 8.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.678e-05/0.3626, allocations: 109.6 kB / 473.5 MB, free: 8.156 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.3626, allocations: 25.7 kB / 473.5 MB, free: 8.125 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.3627, allocations: 92.05 kB / 473.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.3627, allocations: 15.73 kB / 473.6 MB, free: 8.016 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.3627, allocations: 4 kB / 473.6 MB, free: 8.012 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.921e-05/0.3628, allocations: 314.8 kB / 473.9 MB, free: 7.695 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.3628, allocations: 15.94 kB / 473.9 MB, free: 7.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.99e-05/0.3629, allocations: 19.06 kB / 473.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.441e-05/0.3629, allocations: 16 kB / 474 MB, free: 7.648 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3629, allocations: 3.984 kB / 474 MB, free: 7.645 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001109/0.363, allocations: 61.64 kB / 474 MB, free: 7.578 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3631, allocations: 11.95 kB / 474 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3631, allocations: 0 / 474 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.3631, allocations: 0 / 474 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.3633, allocations: 23.97 kB / 474.1 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3633, allocations: 0 / 474.1 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.3634, allocations: 27.89 kB / 474.1 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.3634, allocations: 4.375 kB / 474.1 MB, free: 7.512 MB / 346.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 () * 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 5.428e-05/0.3635, allocations: 101 kB / 474.2 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.3635, allocations: 4 kB / 474.2 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.3637, allocations: 89.64 kB / 474.3 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3637, allocations: 7.938 kB / 474.3 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3637, allocations: 4 kB / 474.3 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3637, allocations: 0 / 474.3 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.3639, allocations: 189.5 kB / 474.5 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3639, allocations: 4 kB / 474.5 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.3641, allocations: 27.97 kB / 474.5 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3641, allocations: 0 / 474.5 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3641, allocations: 256 / 474.5 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3641, allocations: 3.953 kB / 474.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3641, allocations: 4 kB / 474.5 MB, free: 7.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.3643, allocations: 175.5 kB / 474.7 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.3643, allocations: 81.02 kB / 474.8 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.3643, allocations: 0 / 474.8 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3645, allocations: 19.97 kB / 474.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.3645, allocations: 11.95 kB / 474.8 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.3645, allocations: 4 kB / 474.8 MB, free: 6.699 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.547e-05/0.3646, allocations: 91.27 kB / 474.9 MB, free: 6.609 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3646, allocations: 0 / 474.9 MB, free: 6.609 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002037/0.3648, allocations: 15.94 kB / 474.9 MB, free: 6.594 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 () * 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.0001095/0.3649, allocations: 107.2 kB / 475 MB, free: 6.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.365, allocations: 39.94 kB / 475 MB, free: 6.441 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.365, allocations: 7.938 kB / 475.1 MB, free: 6.434 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.442e-05/0.3651, allocations: 28.61 kB / 475.1 MB, free: 6.406 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.3653, allocations: 4 kB / 475.1 MB, free: 6.402 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.3655, allocations: 97.03 kB / 475.2 MB, free: 6.281 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.3657, allocations: 0.6887 MB / 475.9 MB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.332e-05/0.3658, allocations: 4 kB / 475.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.3658, allocations: 11.44 kB / 475.9 MB, free: 5.555 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3658, allocations: 288 / 475.9 MB, free: 5.555 MB / 346.7 MB Notification: Performance of Templates: time 0.002545/0.3683, allocations: 0.7897 MB / 476.7 MB, free: 4.773 MB / 346.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