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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 112.4 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 186.2 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 47.92 kB / 329.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07058/0.07181, allocations: 46.62 MB / 375.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001968/0.07381, allocations: 1.197 MB / 377 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.07661, allocations: 2.001 MB / 379 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.07665, allocations: 4 kB / 379 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.07668, allocations: 0 / 379 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.0778, allocations: 430.6 kB / 379.4 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.704e-05/0.07783, allocations: 8 kB / 379.4 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.128e-05/0.07788, allocations: 7.938 kB / 379.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.844e-05/0.07792, allocations: 8 kB / 379.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.566e-05/0.07794, allocations: 0 / 379.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.07817, allocations: 23.84 kB / 379.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.07819, allocations: 0 / 379.5 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006681/0.07886, allocations: 471.5 kB / 379.9 MB, free: 468 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.07889, allocations: 3.984 kB / 379.9 MB, free: 464 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.07892, allocations: 3.984 kB / 379.9 MB, free: 460 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.07939, allocations: 339.2 kB / 380.3 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.0794, allocations: 0 / 380.3 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07941, allocations: 0 / 380.3 MB, free: 120 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.07942, allocations: 0 / 380.3 MB, free: 120 kB / 318.1 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.1723/0.2518, allocations: 414.3 kB / 380.7 MB, free: 13.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2518, allocations: 9.531 kB / 380.7 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.2519, allocations: 77.62 kB / 380.8 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.252, allocations: 243.5 kB / 381 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.252, allocations: 152.4 kB / 381.1 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.252, allocations: 151.7 kB / 381.3 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.735e-05/0.2521, allocations: 104 kB / 381.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.2521, allocations: 75.28 kB / 381.5 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.2521, allocations: 156.3 kB / 381.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.2521, allocations: 156 kB / 381.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.2522, allocations: 157.6 kB / 381.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.2524, allocations: 445.2 kB / 382.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.773e-05/0.2524, allocations: 170.3 kB / 382.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.505e-05/0.2524, allocations: 81.98 kB / 382.6 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.2524, allocations: 81.22 kB / 382.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.2526, allocations: 44.19 kB / 382.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.384e-06/0.2526, allocations: 3.609 kB / 382.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.000124/0.2527, allocations: 41.22 kB / 382.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.2528, allocations: 51.41 kB / 382.8 MB, free: 11.35 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.835e-05/0.2528, allocations: 102.7 kB / 382.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.691e-06/0.2528, allocations: 27.92 kB / 382.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.832e-05/0.2529, allocations: 85 kB / 383 MB, free: 11.14 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.2529, allocations: 5.328 kB / 383 MB, free: 11.13 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.2529, allocations: 11.72 kB / 383 MB, free: 11.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.674e-05/0.2529, allocations: 319.4 kB / 383.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-06/0.253, allocations: 0.7031 kB / 383.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.501e-06/0.253, allocations: 4.281 kB / 383.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.102e-05/0.253, allocations: 8.234 kB / 383.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.253, allocations: 1.688 kB / 383.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.872e-05/0.2531, allocations: 33.22 kB / 383.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2531, allocations: 5.781 kB / 383.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2531, allocations: 7.531 kB / 383.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.2531, allocations: 5.281 kB / 383.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.06e-05/0.2531, allocations: 0 / 383.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2531, allocations: 0 / 383.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/0.2532, allocations: 5.172 kB / 383.4 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.2532, allocations: 0 / 383.4 MB, free: 10.76 MB / 318.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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.2532, allocations: 108.1 kB / 383.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.2532, allocations: 1.281 kB / 383.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.2533, allocations: 18.88 kB / 383.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2533, allocations: 1.156 kB / 383.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2533, allocations: 0.8906 kB / 383.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.2533, allocations: 78.14 kB / 383.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.2533, allocations: 0.6094 kB / 383.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.3e-05/0.2533, allocations: 2.547 kB / 383.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.2534, allocations: 1.812 kB / 383.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.794e-05/0.2534, allocations: 116.7 kB / 383.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 6.268e-05/0.2535, allocations: 207.4 kB / 384 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.378e-05/0.2535, allocations: 2.156 kB / 384 MB, free: 10.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.375e-05/0.2535, allocations: 92.31 kB / 384 MB, free: 10.16 MB / 318.1 MB Notification: Performance of Backend: time 2.11e-07/0.2535, allocations: 0 / 384 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001148/0.2547, allocations: 462.2 kB / 384.5 MB, free: 9.984 MB / 318.1 MB Notification: Performance of SimCode: time 0.000263/0.255, allocations: 0.5565 MB / 385.1 MB, free: 9.41 MB / 318.1 MB Notification: Performance of Templates: time 0.006585/0.2616, allocations: 2.804 MB / 387.9 MB, free: 9.141 MB / 318.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches