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.0008472/0.0008472, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.001057/0.001057, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.221/1.221, allocations: 223.3 MB / 242.2 MB, free: 216 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002256/0.0002256, allocations: 17.52 kB / 302.1 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06979/0.07003, allocations: 50.41 MB / 352.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.001478/0.07152, allocations: 1.39 MB / 353.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006802/0.07221, allocations: 483.6 kB / 354.3 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.61e-05/0.07229, allocations: 4 kB / 354.3 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.926e-05/0.07237, allocations: 7.922 kB / 354.4 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.07252, allocations: 19.86 kB / 354.4 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.07267, allocations: 43.95 kB / 354.4 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.07282, allocations: 99.62 kB / 354.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.07292, allocations: 28.97 kB / 354.5 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.659e-05/0.073, allocations: 27.86 kB / 354.6 MB, free: 1.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.307e-05/0.07308, allocations: 43.77 kB / 354.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.07311, allocations: 4 kB / 354.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.07313, allocations: 3.938 kB / 354.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.07318, allocations: 11.94 kB / 354.6 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.07324, allocations: 69.38 kB / 354.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.681e-05/0.07332, allocations: 60.09 kB / 354.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.07333, allocations: 0 / 354.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.07334, allocations: 4 kB / 354.8 MB, free: 1.391 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.07335, allocations: 0 / 354.8 MB, free: 1.391 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.0004354/0.07379, allocations: 387.2 kB / 355.1 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.07382, allocations: 8.031 kB / 355.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.07387, allocations: 20.75 kB / 355.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.07404, allocations: 200.6 kB / 355.4 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-06/0.07406, allocations: 7.938 kB / 355.4 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.0741, allocations: 11.98 kB / 355.4 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.07427, allocations: 77.67 kB / 355.5 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.07429, allocations: 0 / 355.5 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.0743, allocations: 4 kB / 355.5 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.07431, allocations: 0 / 355.5 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.07444, allocations: 47.97 kB / 355.5 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004813/0.07493, allocations: 411.9 kB / 355.9 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.07508, allocations: 66.52 kB / 356 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.138e-05/0.07517, allocations: 32.89 kB / 356 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.07519, allocations: 0 / 356 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.07522, allocations: 42.5 kB / 356.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.07523, allocations: 0 / 356.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002688/0.0755, allocations: 97.58 kB / 356.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.07554, allocations: 51.41 kB / 356.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.07565, allocations: 144.8 kB / 356.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.07567, allocations: 33.7 kB / 356.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.07573, allocations: 112.1 kB / 356.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.07576, allocations: 11.72 kB / 356.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.0758, allocations: 25.64 kB / 356.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.301e-05/0.07589, allocations: 322.7 kB / 356.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.385e-05/0.07596, allocations: 23.98 kB / 356.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.07602, allocations: 27.97 kB / 356.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.07615, allocations: 52.84 kB / 356.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.07616, allocations: 0 / 356.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000175/0.07634, allocations: 97.5 kB / 357 MB, free: 14.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.07636, allocations: 4 kB / 357 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.07637, allocations: 0 / 357 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.07638, allocations: 4 kB / 357 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.0766, allocations: 43.91 kB / 357.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.07662, allocations: 256 / 357.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.07668, allocations: 7.938 kB / 357.1 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.0767, allocations: 8 kB / 357.1 MB, free: 14.82 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 7.155e-05/0.07677, allocations: 117.8 kB / 357.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.07681, allocations: 7.906 kB / 357.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.07684, allocations: 16.3 kB / 357.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.07685, allocations: 0 / 357.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.07686, allocations: 4 kB / 357.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.07687, allocations: 4 kB / 357.2 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.07705, allocations: 197.5 kB / 357.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.07706, allocations: 4 kB / 357.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.07721, allocations: 19.98 kB / 357.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.07722, allocations: 0 / 357.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.07724, allocations: 3.984 kB / 357.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.07724, allocations: 0 / 357.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.07725, allocations: 0 / 357.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.07752, allocations: 219.3 kB / 357.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.07757, allocations: 81.02 kB / 357.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.0776, allocations: 4.031 kB / 357.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.07769, allocations: 4 kB / 357.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.07772, allocations: 7.984 kB / 357.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.07774, allocations: 4.062 kB / 357.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.594e-05/0.07781, allocations: 109 kB / 357.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07781, allocations: 0 / 357.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.07805, allocations: 16 kB / 357.9 MB, free: 13.92 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 6.962e-05/0.07813, allocations: 99.17 kB / 358 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.07829, allocations: 55.86 kB / 358.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0783, allocations: 4 kB / 358.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.522e-05/0.07837, allocations: 23.98 kB / 358.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.0787, allocations: 19.92 kB / 358.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005422/0.07925, allocations: 349.4 kB / 358.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.07947, allocations: 0.7043 MB / 359.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.07951, allocations: 15.42 kB / 359.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.07952, allocations: 0 / 359.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of Templates: time 0.002361/0.08189, allocations: 1.181 MB / 360.3 MB, free: 11.42 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/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