Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001634/0.002714, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00144/0.002568, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9513/0.9513, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09051/1.042, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.531e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.001894/0.001909, allocations: 1.774 MB / 246.3 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006424/0.002552, allocations: 0.5499 MB / 246.8 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.002618, allocations: 4 kB / 246.8 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.505e-05/0.002673, allocations: 15.8 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.002784, allocations: 27.8 kB / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001755/0.00296, allocations: 59.84 kB / 246.9 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.003091, allocations: 99.64 kB / 247 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.514e-05/0.003176, allocations: 25.88 kB / 247.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.003317, allocations: 83.8 kB / 247.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.19e-05/0.003379, allocations: 31.84 kB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.003397, allocations: 8 kB / 247.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.538e-05/0.003452, allocations: 8 kB / 247.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.003495, allocations: 11.94 kB / 247.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.003521, allocations: 23.94 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.003634, allocations: 67.69 kB / 247.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.401e-05/0.003648, allocations: 0 / 247.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003648, allocations: 0 / 247.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.003662, allocations: 0 / 247.3 MB, free: 11.52 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.0004178/0.004079, allocations: 332.1 kB / 247.6 MB, free: 11.17 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/0.004106, allocations: 8.031 kB / 247.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.004227, allocations: 106 kB / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.004365, allocations: 146.1 kB / 247.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.004376, allocations: 8.375 kB / 247.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.004397, allocations: 8.328 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.888e-05/0.004496, allocations: 78.86 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.004505, allocations: 3.938 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.004513, allocations: 4 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.004518, allocations: 0 / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.511e-05/0.004543, allocations: 12 kB / 248 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.004823, allocations: 218.8 kB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.43e-05/0.004897, allocations: 38.56 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.004915, allocations: 16.84 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.004927, allocations: 0 / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.004946, allocations: 30.56 kB / 248.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.004946, allocations: 0 / 248.3 MB, free: 10.42 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001171/0.005063, allocations: 65.62 kB / 248.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.00509, allocations: 55.34 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/0.005159, allocations: 142.6 kB / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.005168, allocations: 25.7 kB / 248.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.00521, allocations: 120 kB / 248.7 MB, free: 9.977 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.005229, allocations: 11.91 kB / 248.7 MB, free: 9.965 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.005258, allocations: 21.7 kB / 248.7 MB, free: 9.938 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.067e-05/0.005329, allocations: 326.8 kB / 249 MB, free: 9.609 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.00534, allocations: 8 kB / 249 MB, free: 9.602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.041e-05/0.00535, allocations: 4 kB / 249 MB, free: 9.598 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.334e-05/0.005384, allocations: 24.78 kB / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005385, allocations: 0 / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.412e-05/0.005439, allocations: 61.81 kB / 249.1 MB, free: 9.504 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.005451, allocations: 8 kB / 249.1 MB, free: 9.496 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.005455, allocations: 80 / 249.1 MB, free: 9.496 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.005463, allocations: 4 kB / 249.1 MB, free: 9.492 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.005693, allocations: 59.86 kB / 249.2 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.005696, allocations: 4 kB / 249.2 MB, free: 9.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.005718, allocations: 3.953 kB / 249.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.005723, allocations: 0 / 249.2 MB, free: 9.426 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.22e-05/0.005775, allocations: 120.6 kB / 249.3 MB, free: 9.297 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.005791, allocations: 7.984 kB / 249.3 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.005812, allocations: 16.47 kB / 249.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.005815, allocations: 3.984 kB / 249.4 MB, free: 9.27 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.005819, allocations: 3.938 kB / 249.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.005821, allocations: 0 / 249.4 MB, free: 9.266 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.207e-05/0.005913, allocations: 89.8 kB / 249.4 MB, free: 9.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.005914, allocations: 0 / 249.4 MB, free: 9.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.442e-05/0.005998, allocations: 31.97 kB / 249.5 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-06/0.006008, allocations: 7.953 kB / 249.5 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.00601, allocations: 0 / 249.5 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.006019, allocations: 0 / 249.5 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.006021, allocations: 8 kB / 249.5 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.006022, allocations: 3.938 kB / 249.5 MB, free: 9.109 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.006134, allocations: 163.8 kB / 249.7 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.006144, allocations: 0 / 249.7 MB, free: 8.934 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.61e-05/0.00618, allocations: 8 kB / 249.7 MB, free: 8.926 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.006201, allocations: 3.938 kB / 249.7 MB, free: 8.922 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.006205, allocations: 7.922 kB / 249.7 MB, free: 8.914 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.411e-05/0.006229, allocations: 35.83 kB / 249.7 MB, free: 8.879 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006229, allocations: 0 / 249.7 MB, free: 8.879 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001186/0.006348, allocations: 15.95 kB / 249.7 MB, free: 8.863 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 6.232e-05/0.00641, allocations: 76.45 kB / 249.8 MB, free: 8.777 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.244e-05/0.006473, allocations: 32.84 kB / 249.8 MB, free: 8.742 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.006477, allocations: 0 / 249.8 MB, free: 8.742 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.798e-05/0.006495, allocations: 16.8 kB / 249.9 MB, free: 8.723 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.006661, allocations: 33.69 kB / 249.9 MB, free: 8.695 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000729/0.00739, allocations: 259.5 kB / 250.1 MB, free: 8.414 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.293e-05/0.007423, allocations: 67.34 kB / 250.2 MB, free: 8.328 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.438e-05/0.007458, allocations: 8.719 kB / 250.2 MB, free: 8.316 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.912e-05/0.007517, allocations: 59.38 kB / 250.3 MB, free: 8.258 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007517, allocations: 0 / 250.3 MB, free: 8.258 MB / 250.7 MB Notification: Performance of Templates: time 0.002779/0.0103, allocations: 1.186 MB / 251.5 MB, free: 7.09 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4361325101926923]