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.001451/0.001452, allocations: 109.7 kB / 18.4 MB, free: 4.676 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.001612/0.001612, allocations: 187 kB / 19.34 MB, free: 3.754 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.29/1.29, 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.001245/0.001245, allocations: 59.92 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0731/0.07436, allocations: 46.61 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002154/0.07654, allocations: 1.19 MB / 377 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.0794, allocations: 1.997 MB / 379 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.718e-05/0.07945, allocations: 0 / 379 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.0795, allocations: 0 / 379 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.08071, allocations: 442.6 kB / 379.4 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.468e-05/0.08075, allocations: 3.938 kB / 379.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.484e-05/0.0808, allocations: 4 kB / 379.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.08085, allocations: 3.984 kB / 379.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.185e-05/0.08088, allocations: 11.98 kB / 379.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.08109, allocations: 11.88 kB / 379.4 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.426e-06/0.08111, allocations: 0 / 379.4 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007316/0.08185, allocations: 479.5 kB / 379.9 MB, free: 460 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.08187, allocations: 0 / 379.9 MB, free: 460 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.0819, allocations: 8 kB / 379.9 MB, free: 452 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005215/0.08243, allocations: 331.4 kB / 380.2 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.08245, allocations: 0 / 380.2 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.08245, allocations: 3.938 kB / 380.3 MB, free: 116 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.08246, allocations: 0 / 380.3 MB, free: 116 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.1456/0.228, allocations: 400 kB / 380.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.2281, allocations: 8.938 kB / 380.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.2282, allocations: 80.41 kB / 380.7 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.2283, allocations: 256.3 kB / 381 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.2283, allocations: 150.9 kB / 381.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.2283, allocations: 156.8 kB / 381.3 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.898e-05/0.2284, allocations: 101 kB / 381.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2284, allocations: 76.66 kB / 381.5 MB, free: 12.15 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.2284, allocations: 159.1 kB / 381.6 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.2285, allocations: 150.6 kB / 381.8 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.41e-05/0.2285, allocations: 161 kB / 381.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.2287, allocations: 445 kB / 382.3 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.827e-05/0.2287, allocations: 173.6 kB / 382.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.2287, allocations: 80.14 kB / 382.6 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.2288, allocations: 78.12 kB / 382.7 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.2289, allocations: 44.58 kB / 382.7 MB, free: 10.85 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.495e-06/0.2289, allocations: 1.719 kB / 382.7 MB, free: 10.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001194/0.2291, allocations: 45.88 kB / 382.8 MB, free: 10.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.638e-05/0.2291, allocations: 51.41 kB / 382.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.768e-05/0.2291, allocations: 97.88 kB / 382.9 MB, free: 10.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-06/0.2292, allocations: 30.88 kB / 382.9 MB, free: 10.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.52e-05/0.2292, allocations: 80.89 kB / 383 MB, free: 10.54 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.077e-05/0.2292, allocations: 1.156 kB / 383 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-05/0.2292, allocations: 11.22 kB / 383 MB, free: 10.53 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.514e-05/0.2293, allocations: 322.8 kB / 383.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-06/0.2293, allocations: 1.156 kB / 383.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.2293, allocations: 1.812 kB / 383.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.834e-05/0.2293, allocations: 9.016 kB / 383.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2293, allocations: 0 / 383.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.936e-05/0.2294, allocations: 35.58 kB / 383.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2294, allocations: 6.234 kB / 383.4 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2294, allocations: 7.406 kB / 383.4 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2294, allocations: 3.5 kB / 383.4 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-05/0.2294, allocations: 3.031 kB / 383.4 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.2294, allocations: 0 / 383.4 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.2295, allocations: 1.156 kB / 383.4 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.2295, allocations: 2.234 kB / 383.4 MB, free: 10.17 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.169e-05/0.2295, allocations: 109.1 kB / 383.5 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.2295, allocations: 8.656 kB / 383.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.2296, allocations: 14.12 kB / 383.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.2296, allocations: 0 / 383.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2296, allocations: 0 / 383.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.2296, allocations: 81.39 kB / 383.6 MB, free: 9.953 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.2296, allocations: 1.375 kB / 383.6 MB, free: 9.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.39e-05/0.2296, allocations: 2.312 kB / 383.6 MB, free: 9.953 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.2297, allocations: 3.312 kB / 383.6 MB, free: 9.953 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.576e-05/0.2297, allocations: 108.4 kB / 383.7 MB, free: 9.848 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 6.36e-05/0.2298, allocations: 213.8 kB / 383.9 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.394e-05/0.2298, allocations: 5 kB / 383.9 MB, free: 9.637 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.25e-05/0.2298, allocations: 83.14 kB / 384 MB, free: 9.562 MB / 318.1 MB Notification: Performance of Backend: time 6.11e-07/0.2298, allocations: 0 / 384 MB, free: 9.562 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.231, allocations: 456.2 kB / 384.5 MB, free: 9.398 MB / 318.1 MB Notification: Performance of SimCode: time 0.0002849/0.2313, allocations: 0.5589 MB / 385 MB, free: 8.824 MB / 318.1 MB Notification: Performance of Templates: time 0.006311/0.2376, allocations: 2.807 MB / 387.8 MB, free: 8.551 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