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.001838/0.001838, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.002662/0.002662, allocations: 149.5 kB / 24.26 MB, free: 168 kB / 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 1.557/1.557, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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.753e-06/1.753e-06, allocations: 0 / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.451e-05/3.627e-05, allocations: 2.312 kB / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003548/0.003585, allocations: 1.662 MB / 269 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.004592, allocations: 490.5 kB / 269.4 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.333e-05/0.004666, allocations: 0 / 269.4 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.00478, allocations: 15.8 kB / 269.5 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.004996, allocations: 31.78 kB / 269.5 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.005216, allocations: 55.8 kB / 269.5 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.005421, allocations: 103.6 kB / 269.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.005528, allocations: 21.3 kB / 269.7 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.005666, allocations: 59.81 kB / 269.7 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.666e-05/0.005763, allocations: 31.89 kB / 269.8 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.005793, allocations: 8 kB / 269.8 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.771e-05/0.005811, allocations: 4 kB / 269.8 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.005873, allocations: 19.92 kB / 269.8 MB, free: 4.246 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.00593, allocations: 27.91 kB / 269.8 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.006104, allocations: 95.58 kB / 269.9 MB, free: 4.125 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006107, allocations: 0 / 269.9 MB, free: 4.125 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.00611, allocations: 3.984 kB / 269.9 MB, free: 4.121 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.006114, allocations: 0 / 269.9 MB, free: 4.121 MB / 250.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.0006919/0.006806, allocations: 435.8 kB / 270.3 MB, free: 3.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.006846, allocations: 8.922 kB / 270.3 MB, free: 3.652 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.863e-05/0.006915, allocations: 20.89 kB / 270.4 MB, free: 3.633 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.007169, allocations: 147.9 kB / 270.5 MB, free: 3.465 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.007183, allocations: 12.38 kB / 270.5 MB, free: 3.453 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.007218, allocations: 11.89 kB / 270.5 MB, free: 3.441 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.007405, allocations: 81.59 kB / 270.6 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.007417, allocations: 3.984 kB / 270.6 MB, free: 3.352 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.00743, allocations: 4 kB / 270.6 MB, free: 3.348 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.007434, allocations: 0 / 270.6 MB, free: 3.348 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.007542, allocations: 31.98 kB / 270.7 MB, free: 3.316 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.008152, allocations: 351.5 kB / 271 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.008318, allocations: 67.02 kB / 271.1 MB, free: 2.859 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.053e-05/0.008388, allocations: 31.72 kB / 271.1 MB, free: 2.824 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.008407, allocations: 0 / 271.1 MB, free: 2.824 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.008446, allocations: 37.39 kB / 271.1 MB, free: 2.777 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.008446, allocations: 0 / 271.1 MB, free: 2.777 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003147/0.008761, allocations: 93.56 kB / 271.2 MB, free: 2.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.00881, allocations: 55.41 kB / 271.3 MB, free: 2.613 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.009009, allocations: 205.9 kB / 271.5 MB, free: 2.395 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.009036, allocations: 37.58 kB / 271.5 MB, free: 2.352 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.009154, allocations: 158.8 kB / 271.7 MB, free: 2.191 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.009187, allocations: 27.83 kB / 271.7 MB, free: 2.164 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.009239, allocations: 23.38 kB / 271.7 MB, free: 2.133 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002836/0.009523, allocations: 0.5001 MB / 272.2 MB, free: 1.621 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.967e-05/0.009593, allocations: 15.98 kB / 272.2 MB, free: 1.605 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.744e-05/0.00964, allocations: 16 kB / 272.2 MB, free: 1.59 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.009757, allocations: 51.67 kB / 272.3 MB, free: 1.535 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.009759, allocations: 0 / 272.3 MB, free: 1.535 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000178/0.009937, allocations: 85.59 kB / 272.4 MB, free: 1.445 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.009954, allocations: 7.938 kB / 272.4 MB, free: 1.438 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.009959, allocations: 4 kB / 272.4 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.009973, allocations: 0 / 272.4 MB, free: 1.434 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.0102, allocations: 39.91 kB / 272.4 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.01021, allocations: 0 / 272.4 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.57e-05/0.01026, allocations: 11.98 kB / 272.4 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.01027, allocations: 0 / 272.4 MB, free: 1.383 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 0.0001428/0.01041, allocations: 160.6 kB / 272.6 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.01045, allocations: 15.89 kB / 272.6 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.0105, allocations: 8.469 kB / 272.6 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.0105, allocations: 0 / 272.6 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.0105, allocations: 4 kB / 272.6 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.0105, allocations: 4 kB / 272.6 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.01073, allocations: 156.6 kB / 272.8 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01073, allocations: 256 / 272.8 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.01088, allocations: 23.98 kB / 272.8 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.01088, allocations: 0 / 272.8 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.0109, allocations: 7.938 kB / 272.8 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.0109, allocations: 0 / 272.8 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.0109, allocations: 7.938 kB / 272.8 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.01126, allocations: 251.8 kB / 273.1 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.01128, allocations: 7.938 kB / 273.1 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.01131, allocations: 7.938 kB / 273.1 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.01138, allocations: 0 / 273.1 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.01143, allocations: 3.984 kB / 273.1 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.01143, allocations: 8 kB / 273.1 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.01156, allocations: 158.1 kB / 273.3 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01156, allocations: 0 / 273.3 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.01178, allocations: 15.94 kB / 273.3 MB, free: 0.4961 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 0.0001145/0.01189, allocations: 95.23 kB / 273.4 MB, free: 404 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.01207, allocations: 59.62 kB / 273.4 MB, free: 340 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01207, allocations: 4 kB / 273.4 MB, free: 336 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.663e-05/0.01214, allocations: 27.67 kB / 273.4 MB, free: 304 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.01247, allocations: 30.58 kB / 273.5 MB, free: 276 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006566/0.01312, allocations: 254.5 kB / 273.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.01323, allocations: 96.25 kB / 273.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.886e-05/0.01328, allocations: 4 kB / 273.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.01333, allocations: 12.5 kB / 273.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01333, allocations: 0 / 273.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Templates: time 0.004258/0.01759, allocations: 0.9736 MB / 274.8 MB, free: 14.9 MB / 266.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 -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","/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.275802313000895]