Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.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.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 101.5 kB / 18.35 MB, free: 4.648 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.001557/0.001557, allocations: 192 kB / 19.29 MB, free: 3.715 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.437/1.437, 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.001167/0.001167, allocations: 51.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1136, allocations: 46.62 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003223/0.1169, allocations: 1.68 MB / 330.4 MB, free: 2.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009544/0.1178, allocations: 0.5231 MB / 330.9 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.118, allocations: 0 / 330.9 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.1181, allocations: 11.86 kB / 330.9 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.1184, allocations: 35.66 kB / 331 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.1186, allocations: 43.95 kB / 331 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.1189, allocations: 103.7 kB / 331.1 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.119, allocations: 29.11 kB / 331.1 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.1192, allocations: 43.73 kB / 331.2 MB, free: 1.277 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.1193, allocations: 43.77 kB / 331.2 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.1193, allocations: 8 kB / 331.2 MB, free: 1.227 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.085e-05/0.1194, allocations: 8 kB / 331.2 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.1194, allocations: 19.92 kB / 331.3 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/0.1195, allocations: 39.73 kB / 331.3 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.1197, allocations: 87.58 kB / 331.4 MB, free: 1.074 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1197, allocations: 0 / 331.4 MB, free: 1.074 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1197, allocations: 4 kB / 331.4 MB, free: 1.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1197, allocations: 0 / 331.4 MB, free: 1.07 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006303/0.1203, allocations: 411 kB / 331.8 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1204, allocations: 8.031 kB / 331.8 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.1205, allocations: 12.75 kB / 331.8 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.1208, allocations: 212.7 kB / 332 MB, free: 364 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1208, allocations: 4.375 kB / 332 MB, free: 360 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.1208, allocations: 16.12 kB / 332 MB, free: 344 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.121, allocations: 73.61 kB / 332.1 MB, free: 264 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.121, allocations: 0 / 332.1 MB, free: 264 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1211, allocations: 4 kB / 332.1 MB, free: 260 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1211, allocations: 4 kB / 332.1 MB, free: 256 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.1212, allocations: 35.97 kB / 332.2 MB, free: 220 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.1218, allocations: 419.8 kB / 332.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.1219, allocations: 62.53 kB / 332.6 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.122, allocations: 28.89 kB / 332.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.122, allocations: 0 / 332.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1221, allocations: 30.56 kB / 332.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.1221, allocations: 0 / 332.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002945/0.1224, allocations: 105.7 kB / 332.8 MB, free: 15.49 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.1224, allocations: 51.41 kB / 332.8 MB, free: 15.43 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1226, allocations: 145.8 kB / 333 MB, free: 15.28 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1226, allocations: 25.7 kB / 333 MB, free: 15.25 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.1227, allocations: 109 kB / 333.1 MB, free: 15.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.1227, allocations: 19.72 kB / 333.1 MB, free: 15.12 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.1228, allocations: 21.7 kB / 333.1 MB, free: 15.09 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1229, allocations: 330.8 kB / 333.5 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.299e-05/0.123, allocations: 16.06 kB / 333.5 MB, free: 14.74 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.578e-05/0.123, allocations: 27.97 kB / 333.5 MB, free: 14.71 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.1232, allocations: 52.83 kB / 333.6 MB, free: 14.66 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1232, allocations: 3.938 kB / 333.6 MB, free: 14.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001797/0.1234, allocations: 89.52 kB / 333.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1234, allocations: 4 kB / 333.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1234, allocations: 0 / 333.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1234, allocations: 4 kB / 333.7 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.1236, allocations: 43.91 kB / 333.7 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1236, allocations: 0 / 333.7 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.131e-05/0.1237, allocations: 7.938 kB / 333.7 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.1237, allocations: 0 / 333.7 MB, free: 14.5 MB / 286.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001085/0.1238, allocations: 121.8 kB / 333.8 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.1239, allocations: 11.84 kB / 333.8 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.1239, allocations: 12.31 kB / 333.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1239, allocations: 0 / 333.9 MB, free: 14.35 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.1239, allocations: 4 kB / 333.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1239, allocations: 3.938 kB / 333.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.1241, allocations: 193.6 kB / 334.1 MB, free: 14.1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1241, allocations: 0 / 334.1 MB, free: 14.1 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.1243, allocations: 27.91 kB / 334.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1243, allocations: 0 / 334.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.1243, allocations: 4 kB / 334.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1243, allocations: 0 / 334.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1243, allocations: 0 / 334.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.1246, allocations: 207.3 kB / 334.3 MB, free: 13.85 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.1247, allocations: 92.98 kB / 334.4 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.1247, allocations: 0 / 334.4 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/0.1248, allocations: 4 kB / 334.4 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1248, allocations: 3.984 kB / 334.4 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.1248, allocations: 64 / 334.4 MB, free: 13.73 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.967e-05/0.1249, allocations: 116 kB / 334.5 MB, free: 13.62 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1249, allocations: 0 / 334.5 MB, free: 13.62 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.1252, allocations: 19.98 kB / 334.5 MB, free: 13.6 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001079/0.1253, allocations: 95.19 kB / 334.6 MB, free: 13.5 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.1255, allocations: 51.92 kB / 334.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1255, allocations: 0 / 334.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.645e-05/0.1256, allocations: 23.98 kB / 334.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.1259, allocations: 27.86 kB / 334.7 MB, free: 13.4 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000708/0.1266, allocations: 257.5 kB / 335 MB, free: 13.12 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.127, allocations: 0.7078 MB / 335.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.781e-05/0.1271, allocations: 15.97 kB / 335.7 MB, free: 12.37 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.1271, allocations: 11.44 kB / 335.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.1271, allocations: 0 / 335.7 MB, free: 12.36 MB / 286.1 MB Notification: Performance of Templates: time 0.003467/0.1306, allocations: 0.891 MB / 336.6 MB, free: 11.47 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches