Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.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.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001565, allocations: 182 kB / 16.4 MB, free: 5.723 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.905/1.905, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001192/0.001191, allocations: 96.2 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003873, allocations: 8 kB / 326.9 MB, free: 224 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3293, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4542, allocations: 78.04 MB / 452.6 MB, free: 2.734 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.4546, allocations: 75.97 kB / 452.6 MB, free: 2.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02859/0.4832, allocations: 6.475 MB / 459.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4832, allocations: 4 kB / 459.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.4832, allocations: 0 / 459.1 MB, free: 12.18 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000744/0.484, allocations: 439.1 kB / 459.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4841, allocations: 8.031 kB / 459.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.908e-05/0.4841, allocations: 83.19 kB / 459.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.4844, allocations: 242.3 kB / 459.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.395e-05/0.4845, allocations: 154.6 kB / 460 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.916e-05/0.4846, allocations: 154.5 kB / 460.2 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.168e-05/0.4847, allocations: 108.9 kB / 460.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/0.4848, allocations: 79.28 kB / 460.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.4849, allocations: 150.6 kB / 460.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.29e-05/0.485, allocations: 154.6 kB / 460.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.155e-05/0.4851, allocations: 154.5 kB / 460.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.4855, allocations: 449.9 kB / 461.2 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.4856, allocations: 169.1 kB / 461.4 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.796e-05/0.4856, allocations: 75.28 kB / 461.5 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.4858, allocations: 55.36 kB / 461.5 MB, free: 9.582 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.144e-06/0.4858, allocations: 0 / 461.5 MB, free: 9.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001507/0.486, allocations: 37.58 kB / 461.6 MB, free: 9.539 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.486, allocations: 55.41 kB / 461.6 MB, free: 9.473 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.4861, allocations: 96.98 kB / 461.7 MB, free: 9.371 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.4862, allocations: 25.7 kB / 461.7 MB, free: 9.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.4863, allocations: 154.7 kB / 461.9 MB, free: 9.188 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.4863, allocations: 0 / 461.9 MB, free: 9.188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.4863, allocations: 0 / 461.9 MB, free: 9.188 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4864, allocations: 314.9 kB / 462.2 MB, free: 8.871 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-06/0.4864, allocations: 0 / 462.2 MB, free: 8.871 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.826e-06/0.4865, allocations: 4 kB / 462.2 MB, free: 8.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.922e-05/0.4865, allocations: 4 kB / 462.2 MB, free: 8.863 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.4865, allocations: 4 kB / 462.2 MB, free: 8.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.69e-05/0.4866, allocations: 41.69 kB / 462.3 MB, free: 8.812 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4866, allocations: 4 kB / 462.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4866, allocations: 0 / 462.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4867, allocations: 3.953 kB / 462.3 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.954e-05/0.4867, allocations: 0 / 462.3 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4867, allocations: 0 / 462.3 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.96e-05/0.4867, allocations: 7.938 kB / 462.3 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.4868, allocations: 0 / 462.3 MB, free: 8.797 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.938e-05/0.4869, allocations: 105.8 kB / 462.4 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.4869, allocations: 7.938 kB / 462.4 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.4869, allocations: 15.06 kB / 462.4 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4869, allocations: 3.953 kB / 462.4 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.487, allocations: 0 / 462.4 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.487, allocations: 0 / 462.4 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.4871, allocations: 153.7 kB / 462.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4871, allocations: 0 / 462.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-06/0.4872, allocations: 0 / 462.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4872, allocations: 0 / 462.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.4872, allocations: 0 / 462.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4872, allocations: 0 / 462.5 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.4872, allocations: 7.953 kB / 462.6 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.4873, allocations: 65.06 kB / 462.6 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.4874, allocations: 77.11 kB / 462.7 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.4874, allocations: 0 / 462.7 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.797e-05/0.4874, allocations: 7.938 kB / 462.7 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.4875, allocations: 0 / 462.7 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/0.4875, allocations: 3.953 kB / 462.7 MB, free: 8.266 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.222e-05/0.4876, allocations: 91.3 kB / 462.8 MB, free: 8.176 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4876, allocations: 0 / 462.8 MB, free: 8.176 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007598/0.4883, allocations: 147.9 kB / 462.9 MB, free: 8.031 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.001476/0.4898, allocations: 0.4907 MB / 463.4 MB, free: 7.562 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.49, allocations: 0 / 463.4 MB, free: 7.562 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.49, allocations: 7.938 kB / 463.4 MB, free: 7.555 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.348e-05/0.49, allocations: 7.938 kB / 463.4 MB, free: 7.547 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.4902, allocations: 4.125 kB / 463.4 MB, free: 7.543 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000352/0.4906, allocations: 138.3 kB / 463.6 MB, free: 7.379 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.4909, allocations: 0.677 MB / 464.3 MB, free: 6.676 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.4909, allocations: 11.44 kB / 464.3 MB, free: 6.664 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.491, allocations: 0 / 464.3 MB, free: 6.664 MB / 346.7 MB Notification: Performance of Templates: time 0.00889/0.4999, allocations: 3.246 MB / 467.5 MB, free: 3.414 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","../files/Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches