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.001216/0.001216, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001733/0.002949, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001119/0.001119, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00155/0.002669, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 1.003/1.003, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0791/1.083, allocations: 52.49 MB / 238.3 MB, free: 4.441 MB / 234.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.302e-06/1.302e-06, allocations: 3.938 kB / 239.6 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.939e-05, allocations: 2.312 kB / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003153/0.003172, allocations: 1.726 MB / 241.3 MB, free: 1.445 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007658/0.003938, allocations: 0.4884 MB / 241.8 MB, free: 0.957 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.004021, allocations: 3.938 kB / 241.8 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.244e-05/0.004094, allocations: 19.86 kB / 241.8 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.004237, allocations: 27.73 kB / 241.8 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.004435, allocations: 51.84 kB / 241.9 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.004604, allocations: 103.6 kB / 242 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.004705, allocations: 25.94 kB / 242 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.004854, allocations: 63.89 kB / 242.1 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.015e-05/0.004934, allocations: 31.88 kB / 242.1 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.004962, allocations: 11.94 kB / 242.1 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.004978, allocations: 12 kB / 242.1 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.005027, allocations: 11.94 kB / 242.1 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.005068, allocations: 19.94 kB / 242.1 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.005193, allocations: 59.7 kB / 242.2 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.566e-05/0.005209, allocations: 0 / 242.2 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.00521, allocations: 4 kB / 242.2 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.005227, allocations: 0 / 242.2 MB, free: 0.5156 MB / 234.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.0004891/0.005716, allocations: 324.1 kB / 242.5 MB, free: 180 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.005747, allocations: 8.031 kB / 242.5 MB, free: 172 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.005787, allocations: 20.86 kB / 242.5 MB, free: 152 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.005975, allocations: 145.3 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.005988, allocations: 4.375 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.006013, allocations: 11.94 kB / 242.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.00614, allocations: 70.36 kB / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.006148, allocations: 4 kB / 242.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.006158, allocations: 4 kB / 242.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.006163, allocations: 0 / 242.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.767e-05/0.006201, allocations: 23.86 kB / 242.8 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.006501, allocations: 214.9 kB / 243 MB, free: 15.63 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.63e-05/0.006577, allocations: 38.55 kB / 243.1 MB, free: 15.58 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.006598, allocations: 20.84 kB / 243.1 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.00661, allocations: 0 / 243.1 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.006629, allocations: 30.56 kB / 243.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.00663, allocations: 4 kB / 243.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001156/0.006746, allocations: 57.61 kB / 243.2 MB, free: 15.45 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.006771, allocations: 51.41 kB / 243.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.00684, allocations: 150.6 kB / 243.4 MB, free: 15.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.006849, allocations: 25.7 kB / 243.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.006882, allocations: 104.1 kB / 243.5 MB, free: 15.09 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.006905, allocations: 23.78 kB / 243.5 MB, free: 15.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.006933, allocations: 21.72 kB / 243.5 MB, free: 15.04 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.007007, allocations: 322.8 kB / 243.8 MB, free: 14.72 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.007019, allocations: 8 kB / 243.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.011e-05/0.007029, allocations: 4 kB / 243.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.332e-05/0.007063, allocations: 21 kB / 243.9 MB, free: 14.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007064, allocations: 0 / 243.9 MB, free: 14.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.737e-05/0.007122, allocations: 61.59 kB / 243.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.007133, allocations: 12 kB / 244 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.007137, allocations: 0 / 244 MB, free: 14.61 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.007147, allocations: 4.188 kB / 244 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.007373, allocations: 59.88 kB / 244 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.007375, allocations: 0 / 244 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.007398, allocations: 8 kB / 244 MB, free: 14.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.007404, allocations: 0 / 244 MB, free: 14.54 MB / 250.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 5.225e-05/0.007456, allocations: 116.7 kB / 244.1 MB, free: 14.41 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.007473, allocations: 15.92 kB / 244.2 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.007495, allocations: 12.47 kB / 244.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007498, allocations: 4 kB / 244.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.0075, allocations: 0 / 244.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.007502, allocations: 0 / 244.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.054e-05/0.007593, allocations: 85.86 kB / 244.3 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.007593, allocations: 0 / 244.3 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-05/0.007683, allocations: 31.91 kB / 244.3 MB, free: 14.24 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-06/0.007693, allocations: 7.953 kB / 244.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.007695, allocations: 3.938 kB / 244.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.007704, allocations: 4 kB / 244.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007705, allocations: 0 / 244.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007706, allocations: 0 / 244.3 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.007823, allocations: 171.5 kB / 244.5 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.007835, allocations: 4 kB / 244.5 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.706e-05/0.007872, allocations: 3.938 kB / 244.5 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.007891, allocations: 4 kB / 244.5 MB, free: 14.03 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.007895, allocations: 3.984 kB / 244.5 MB, free: 14.03 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.384e-05/0.007919, allocations: 27.84 kB / 244.5 MB, free: 14 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007919, allocations: 3.938 kB / 244.5 MB, free: 14 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001166/0.008035, allocations: 23.97 kB / 244.5 MB, free: 13.97 MB / 250.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.003e-05/0.008105, allocations: 76.41 kB / 244.6 MB, free: 13.89 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.176e-05/0.008167, allocations: 24.84 kB / 244.6 MB, free: 13.86 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.008173, allocations: 4 kB / 244.6 MB, free: 13.86 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.092e-05/0.008194, allocations: 20.8 kB / 244.7 MB, free: 13.84 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.008348, allocations: 39.72 kB / 244.7 MB, free: 13.8 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007617/0.00911, allocations: 275.3 kB / 245 MB, free: 13.5 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.147e-05/0.009141, allocations: 63.34 kB / 245 MB, free: 13.42 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.697e-05/0.009178, allocations: 12.7 kB / 245 MB, free: 13.41 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.188e-05/0.00924, allocations: 63.38 kB / 245.1 MB, free: 13.34 MB / 250.7 MB Notification: Performance of SimCode: time 9.22e-07/0.009241, allocations: 0 / 245.1 MB, free: 13.34 MB / 250.7 MB Notification: Performance of Templates: time 0.002789/0.01203, allocations: 1.174 MB / 246.3 MB, free: 12.19 MB / 250.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.586225850507617]