Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.0.0_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.001068/0.001072, allocations: 101.3 kB / 16.5 MB, free: 6.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.001126/0.001127, allocations: 194.4 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009778/0.000978, allocations: 51.48 kB / 300 MB, free: 6.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08701/0.08801, allocations: 49.45 MB / 349.4 MB, free: 4.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002745/0.09079, allocations: 1.727 MB / 351.1 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008123/0.09162, allocations: 494.8 kB / 351.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.127e-05/0.09173, allocations: 0 / 351.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.09185, allocations: 7.922 kB / 351.6 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.09204, allocations: 15.88 kB / 351.6 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.0922, allocations: 43.94 kB / 351.7 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.09236, allocations: 99.59 kB / 351.8 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.09248, allocations: 37.09 kB / 351.8 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.196e-05/0.09258, allocations: 31.86 kB / 351.8 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.715e-05/0.09266, allocations: 47.72 kB / 351.9 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.09269, allocations: 4 kB / 351.9 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.739e-05/0.09271, allocations: 4 kB / 351.9 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.09277, allocations: 19.91 kB / 351.9 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.09283, allocations: 39.73 kB / 352 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.09295, allocations: 87.8 kB / 352 MB, free: 1.957 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.09296, allocations: 4 kB / 352 MB, free: 1.953 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.81e-07/0.09296, allocations: 0 / 352 MB, free: 1.953 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.09297, allocations: 0 / 352 MB, free: 1.953 MB / 286.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.0005499/0.09353, allocations: 407.1 kB / 352.4 MB, free: 1.508 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.09357, allocations: 12.03 kB / 352.5 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.09362, allocations: 12.75 kB / 352.5 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.09381, allocations: 196.7 kB / 352.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.09383, allocations: 11.94 kB / 352.7 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.09386, allocations: 11.91 kB / 352.7 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.09405, allocations: 81.66 kB / 352.8 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.09406, allocations: 0 / 352.8 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.09408, allocations: 0 / 352.8 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.09409, allocations: 3.984 kB / 352.8 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.09421, allocations: 47.62 kB / 352.8 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.09473, allocations: 407.9 kB / 353.2 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.09488, allocations: 62.62 kB / 353.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.98e-05/0.09496, allocations: 32.78 kB / 353.3 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.09498, allocations: 0 / 353.3 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.09502, allocations: 42.5 kB / 353.3 MB, free: 492 kB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.09503, allocations: 0 / 353.3 MB, free: 492 kB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002761/0.09531, allocations: 93.58 kB / 353.4 MB, free: 392 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.09536, allocations: 51.41 kB / 353.5 MB, free: 328 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.09548, allocations: 143.1 kB / 353.6 MB, free: 176 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.0955, allocations: 29.7 kB / 353.7 MB, free: 140 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.09557, allocations: 108.1 kB / 353.8 MB, free: 28 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.09561, allocations: 23.66 kB / 353.8 MB, free: 4 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.09567, allocations: 21.77 kB / 353.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.09578, allocations: 318.8 kB / 354.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.173e-05/0.09585, allocations: 23.92 kB / 354.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.161e-05/0.09591, allocations: 19.98 kB / 354.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.09603, allocations: 48.84 kB / 354.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.09604, allocations: 0 / 354.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001669/0.09622, allocations: 89.53 kB / 354.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.09624, allocations: 11.98 kB / 354.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.09625, allocations: 0 / 354.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.09626, allocations: 0 / 354.3 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.09649, allocations: 39.91 kB / 354.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.09651, allocations: 0 / 354.3 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.09657, allocations: 8.188 kB / 354.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.09658, allocations: 0 / 354.4 MB, free: 15.41 MB / 302.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 8.514e-05/0.09667, allocations: 121.8 kB / 354.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.09671, allocations: 11.84 kB / 354.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.09675, allocations: 24.3 kB / 354.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.09676, allocations: 0 / 354.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.09677, allocations: 0 / 354.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.09677, allocations: 0 / 354.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.09697, allocations: 201.5 kB / 354.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.09698, allocations: 0 / 354.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.09714, allocations: 19.98 kB / 354.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.09715, allocations: 4 kB / 354.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.09717, allocations: 7.984 kB / 354.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.09717, allocations: 0 / 354.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.09718, allocations: 0 / 354.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.09746, allocations: 207.2 kB / 354.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.09752, allocations: 89.03 kB / 355 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.09754, allocations: 0 / 355 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-05/0.09763, allocations: 0 / 355 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.09767, allocations: 12.05 kB / 355 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.09768, allocations: 0 / 355 MB, free: 14.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.32e-05/0.09776, allocations: 108.6 kB / 355.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.512e-06/0.09777, allocations: 4 kB / 355.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.098, allocations: 15.94 kB / 355.2 MB, free: 14.5 MB / 302.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 9.07e-05/0.0981, allocations: 103.2 kB / 355.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001591/0.09826, allocations: 51.91 kB / 355.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.09827, allocations: 0 / 355.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.808e-05/0.09835, allocations: 31.98 kB / 355.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.0987, allocations: 19.92 kB / 355.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.09933, allocations: 291.1 kB / 355.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.09959, allocations: 0.7043 MB / 356.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.268e-05/0.09965, allocations: 12.12 kB / 356.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.09969, allocations: 15.42 kB / 356.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.0997, allocations: 4 kB / 356.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of Templates: time 0.002952/0.1027, allocations: 0.8162 MB / 357.2 MB, free: 12.41 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches