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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007871/0.0007871, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004121/0.004121, allocations: 146.9 kB / 24.68 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8332/0.8332, allocations: 173.4 MB / 201.2 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 319.7 MB, free: 5.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.482e-05, allocations: 6.281 kB / 319.7 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002077/0.002102, allocations: 1.648 MB / 321.3 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006576/0.002759, allocations: 466.8 kB / 321.8 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-05/0.002839, allocations: 3.938 kB / 321.8 MB, free: 3.602 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.002943, allocations: 7.875 kB / 321.8 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.003145, allocations: 23.78 kB / 321.8 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.003319, allocations: 59.8 kB / 321.9 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.003482, allocations: 111.6 kB / 322 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.003594, allocations: 25.28 kB / 322 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.743e-05/0.003682, allocations: 59.77 kB / 322.1 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.003749, allocations: 35.89 kB / 322.1 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.003775, allocations: 4 kB / 322.1 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.003788, allocations: 8 kB / 322.1 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.003844, allocations: 19.91 kB / 322.1 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.565e-05/0.00388, allocations: 27.92 kB / 322.2 MB, free: 3.223 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.004018, allocations: 87.62 kB / 322.2 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.00402, allocations: 0 / 322.2 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004021, allocations: 0 / 322.2 MB, free: 3.137 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.004025, allocations: 0 / 322.2 MB, free: 3.137 MB / 282.7 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.0004759/0.004501, allocations: 337.1 kB / 322.6 MB, free: 2.781 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.00454, allocations: 12.92 kB / 322.6 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.00458, allocations: 8.891 kB / 322.6 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.004783, allocations: 153.1 kB / 322.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.004793, allocations: 384 / 322.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.004823, allocations: 19.89 kB / 322.8 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.004982, allocations: 81.59 kB / 322.8 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.004995, allocations: 7.984 kB / 322.8 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.005005, allocations: 0 / 322.8 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.00501, allocations: 0 / 322.8 MB, free: 2.477 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.011e-05/0.00508, allocations: 43.97 kB / 322.9 MB, free: 2.434 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.005482, allocations: 276.3 kB / 323.2 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.005598, allocations: 70.5 kB / 323.2 MB, free: 2.055 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/0.005637, allocations: 28.84 kB / 323.3 MB, free: 2.023 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.005653, allocations: 4 kB / 323.3 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.005671, allocations: 34.56 kB / 323.3 MB, free: 1.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.01e-07/0.005672, allocations: 0 / 323.3 MB, free: 1.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000209/0.005881, allocations: 97.56 kB / 323.4 MB, free: 1.875 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.005914, allocations: 51.41 kB / 323.4 MB, free: 1.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.006007, allocations: 149.8 kB / 323.6 MB, free: 1.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.006018, allocations: 25.7 kB / 323.6 MB, free: 1.625 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.006071, allocations: 108 kB / 323.7 MB, free: 1.516 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.006095, allocations: 19.98 kB / 323.7 MB, free: 1.496 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.006124, allocations: 17.72 kB / 323.8 MB, free: 1.473 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8e-05/0.006204, allocations: 326.8 kB / 324.1 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.28e-05/0.006237, allocations: 15.98 kB / 324.1 MB, free: 1.129 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.056e-05/0.006267, allocations: 23.98 kB / 324.1 MB, free: 1.105 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.879e-05/0.006336, allocations: 48.98 kB / 324.2 MB, free: 1.055 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.006338, allocations: 0 / 324.2 MB, free: 1.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001042/0.006442, allocations: 93.53 kB / 324.3 MB, free: 0.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.006455, allocations: 11.92 kB / 324.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.006459, allocations: 0 / 324.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.006472, allocations: 0 / 324.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.006602, allocations: 43.91 kB / 324.3 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.006607, allocations: 4 kB / 324.3 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.00663, allocations: 0 / 324.3 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.006638, allocations: 8 kB / 324.3 MB, free: 0.8906 MB / 282.7 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 6.151e-05/0.006699, allocations: 113.8 kB / 324.4 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.006716, allocations: 11.89 kB / 324.4 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.131e-05/0.006737, allocations: 12.45 kB / 324.5 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.006741, allocations: 4 kB / 324.5 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.006745, allocations: 256 / 324.5 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.006749, allocations: 4 kB / 324.5 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.006861, allocations: 137.3 kB / 324.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.006862, allocations: 0 / 324.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-05/0.006931, allocations: 19.98 kB / 324.6 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.006933, allocations: 0 / 324.6 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.006945, allocations: 11.92 kB / 324.6 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.006946, allocations: 3.938 kB / 324.6 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.006946, allocations: 0 / 324.6 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.007136, allocations: 207.4 kB / 324.8 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.007151, allocations: 19.98 kB / 324.9 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.007165, allocations: 3.938 kB / 324.9 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.713e-05/0.007202, allocations: 4 kB / 324.9 MB, free: 300 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.007233, allocations: 7.984 kB / 324.9 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.007236, allocations: 0 / 324.9 MB, free: 292 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.452e-05/0.00729, allocations: 110.5 kB / 325 MB, free: 184 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00729, allocations: 0 / 325 MB, free: 184 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000148/0.007438, allocations: 12 kB / 325 MB, free: 172 kB / 282.7 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 7.603e-05/0.007514, allocations: 103.2 kB / 325.1 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.007632, allocations: 43.92 kB / 325.1 MB, free: 16 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007634, allocations: 4 kB / 325.1 MB, free: 12 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.858e-05/0.007682, allocations: 24.03 kB / 325.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.0079, allocations: 19.31 kB / 325.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.008353, allocations: 275.2 kB / 325.4 MB, free: 15.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.398e-05/0.008417, allocations: 96.27 kB / 325.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.00845, allocations: 12.5 kB / 325.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.00845, allocations: 0 / 325.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of Templates: time 0.002627/0.01108, allocations: 1.249 MB / 326.8 MB, free: 14.29 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.149524289183319]