Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001012/0.001012, allocations: 183.8 kB / 18.04 MB, free: 3.777 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.369/1.369, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.000735/0.000735, allocations: 92.98 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.0004081, allocations: 8 kB / 329.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2467, allocations: 47.58 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09813/0.3449, allocations: 78.07 MB / 455.1 MB, free: 2.477 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.3453, allocations: 79.97 kB / 455.2 MB, free: 2.398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01933/0.3646, allocations: 6.435 MB / 461.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.3647, allocations: 0 / 461.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3647, allocations: 0 / 461.6 MB, free: 11.96 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.0006811/0.3654, allocations: 434.1 kB / 462 MB, free: 11.49 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.3654, allocations: 12.03 kB / 462 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.195e-05/0.3655, allocations: 84.12 kB / 462.1 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.3657, allocations: 243.7 kB / 462.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.648e-05/0.3658, allocations: 150.9 kB / 462.5 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.3659, allocations: 154.9 kB / 462.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.843e-05/0.3659, allocations: 109.5 kB / 462.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.366, allocations: 75.47 kB / 462.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.3661, allocations: 158.5 kB / 463 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.649e-05/0.3662, allocations: 150.6 kB / 463.1 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.264e-05/0.3663, allocations: 158.6 kB / 463.3 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.3666, allocations: 445.9 kB / 463.7 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.251e-05/0.3667, allocations: 169.1 kB / 463.9 MB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.3667, allocations: 84.14 kB / 464 MB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.3668, allocations: 79.28 kB / 464 MB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.3669, allocations: 43.45 kB / 464.1 MB, free: 9.293 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 3.317e-06/0.3669, allocations: 0 / 464.1 MB, free: 9.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001601/0.3671, allocations: 41.58 kB / 464.1 MB, free: 9.246 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.3671, allocations: 51.41 kB / 464.2 MB, free: 9.184 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.001e-05/0.3672, allocations: 113.8 kB / 464.3 MB, free: 9.062 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.3672, allocations: 25.83 kB / 464.3 MB, free: 9.031 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.3673, allocations: 84.14 kB / 464.4 MB, free: 8.945 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.3673, allocations: 0 / 464.4 MB, free: 8.945 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-06/0.3673, allocations: 0 / 464.4 MB, free: 8.945 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3675, allocations: 314.8 kB / 464.7 MB, free: 8.629 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-06/0.3675, allocations: 0 / 464.7 MB, free: 8.629 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-06/0.3675, allocations: 3.984 kB / 464.7 MB, free: 8.625 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.613e-05/0.3675, allocations: 12.86 kB / 464.7 MB, free: 8.609 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3675, allocations: 4.062 kB / 464.7 MB, free: 8.605 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.225e-05/0.3676, allocations: 37.55 kB / 464.8 MB, free: 8.562 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.3676, allocations: 8.875 kB / 464.8 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3676, allocations: 0 / 464.8 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3677, allocations: 4 kB / 464.8 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.912e-05/0.3677, allocations: 3.938 kB / 464.8 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3677, allocations: 0 / 464.8 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.622e-05/0.3677, allocations: 0 / 464.8 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.3677, allocations: 0 / 464.8 MB, free: 8.547 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.266e-05/0.3678, allocations: 113.9 kB / 464.9 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.3678, allocations: 7.938 kB / 464.9 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.3679, allocations: 11.08 kB / 464.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3679, allocations: 0 / 464.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3679, allocations: 0 / 464.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3679, allocations: 0 / 464.9 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.368, allocations: 149.7 kB / 465.1 MB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.368, allocations: 0 / 465.1 MB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-06/0.3681, allocations: 0 / 465.1 MB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3681, allocations: 3.938 kB / 465.1 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3681, allocations: 0 / 465.1 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3681, allocations: 8 kB / 465.1 MB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3681, allocations: 0 / 465.1 MB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.195e-05/0.3682, allocations: 61.06 kB / 465.1 MB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.3683, allocations: 81.11 kB / 465.2 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.3683, allocations: 3.938 kB / 465.2 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.407e-05/0.3683, allocations: 4 kB / 465.2 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.3683, allocations: 0 / 465.2 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.3683, allocations: 11.95 kB / 465.2 MB, free: 8.004 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.073e-05/0.3684, allocations: 83.47 kB / 465.3 MB, free: 7.922 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3684, allocations: 0 / 465.3 MB, free: 7.922 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006633/0.3691, allocations: 155.9 kB / 465.5 MB, free: 7.77 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.001183/0.3703, allocations: 0.5004 MB / 466 MB, free: 7.293 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.131e-05/0.3703, allocations: 8 kB / 466 MB, free: 7.285 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3703, allocations: 0 / 466 MB, free: 7.285 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.865e-06/0.3704, allocations: 8 kB / 466 MB, free: 7.277 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.3705, allocations: 7.984 kB / 466 MB, free: 7.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.3708, allocations: 112.5 kB / 466.1 MB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.3711, allocations: 0.677 MB / 466.8 MB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.955e-05/0.3712, allocations: 7.984 kB / 466.8 MB, free: 6.422 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.3712, allocations: 15.5 kB / 466.8 MB, free: 6.406 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3712, allocations: 0 / 466.8 MB, free: 6.406 MB / 346.7 MB Notification: Performance of Templates: time 0.006665/0.3779, allocations: 2.746 MB / 469.5 MB, free: 3.656 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches