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.001016/0.001016, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001116/0.001116, allocations: 147.1 kB / 24.89 MB, free: 8.742 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 1.007/1.007, allocations: 173.4 MB / 201.5 MB, free: 8.734 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.954e-06/1.954e-06, allocations: 0 / 268.5 MB, free: 5.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.757e-05, allocations: 6.109 kB / 268.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002514/0.002542, allocations: 1.746 MB / 270.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007823/0.003324, allocations: 498.5 kB / 270.7 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.003425, allocations: 7.938 kB / 270.7 MB, free: 3.73 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.003562, allocations: 11.86 kB / 270.7 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.003812, allocations: 19.8 kB / 270.8 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.004134, allocations: 51.92 kB / 270.8 MB, free: 3.648 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.004352, allocations: 103.6 kB / 270.9 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.004506, allocations: 21.94 kB / 270.9 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.004662, allocations: 67.7 kB / 271 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.675e-05/0.004748, allocations: 35.89 kB / 271 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.004774, allocations: 4 kB / 271 MB, free: 3.418 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.749e-05/0.004791, allocations: 8 kB / 271.1 MB, free: 3.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.004873, allocations: 15.92 kB / 271.1 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.004917, allocations: 27.91 kB / 271.1 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.005073, allocations: 59.75 kB / 271.2 MB, free: 3.309 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.005079, allocations: 3.984 kB / 271.2 MB, free: 3.305 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.00508, allocations: 0 / 271.2 MB, free: 3.305 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.005085, allocations: 0 / 271.2 MB, free: 3.305 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.0004794/0.005564, allocations: 316.4 kB / 271.5 MB, free: 2.973 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.005625, allocations: 8.922 kB / 271.5 MB, free: 2.965 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.005668, allocations: 12.92 kB / 271.5 MB, free: 2.953 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.005896, allocations: 134.2 kB / 271.6 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.00591, allocations: 12.31 kB / 271.6 MB, free: 2.785 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.005945, allocations: 15.88 kB / 271.6 MB, free: 2.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.006078, allocations: 70.36 kB / 271.7 MB, free: 2.691 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.006086, allocations: 0 / 271.7 MB, free: 2.691 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.006096, allocations: 4 kB / 271.7 MB, free: 2.688 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.006101, allocations: 4 kB / 271.7 MB, free: 2.684 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.768e-05/0.006129, allocations: 15.98 kB / 271.7 MB, free: 2.668 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.006502, allocations: 218.8 kB / 272 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.343e-05/0.006595, allocations: 38.56 kB / 272 MB, free: 2.391 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.006621, allocations: 16.86 kB / 272 MB, free: 2.371 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.006636, allocations: 0 / 272 MB, free: 2.371 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.006663, allocations: 38.48 kB / 272 MB, free: 2.324 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.452e-06/0.006664, allocations: 0 / 272 MB, free: 2.324 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001581/0.006822, allocations: 65.67 kB / 272.1 MB, free: 2.254 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.006855, allocations: 51.41 kB / 272.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.213e-05/0.006937, allocations: 138.6 kB / 272.3 MB, free: 2.043 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.006949, allocations: 29.7 kB / 272.3 MB, free: 2.008 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.006991, allocations: 100.2 kB / 272.4 MB, free: 1.906 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.007016, allocations: 15.8 kB / 272.4 MB, free: 1.891 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.007051, allocations: 29.69 kB / 272.5 MB, free: 1.855 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.007142, allocations: 322.8 kB / 272.8 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.007158, allocations: 11.94 kB / 272.8 MB, free: 1.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.34e-05/0.007171, allocations: 4 kB / 272.8 MB, free: 1.516 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.628e-05/0.007217, allocations: 32.77 kB / 272.8 MB, free: 1.48 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.00722, allocations: 0 / 272.8 MB, free: 1.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.453e-05/0.007294, allocations: 53.69 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.007311, allocations: 7.984 kB / 272.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.007316, allocations: 0 / 272.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.007332, allocations: 7.938 kB / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.007575, allocations: 51.94 kB / 272.9 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-06/0.007578, allocations: 0 / 272.9 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.007604, allocations: 4 kB / 273 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.007611, allocations: 4 kB / 273 MB, free: 1.348 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 6.502e-05/0.007676, allocations: 116.6 kB / 273.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.007695, allocations: 7.938 kB / 273.1 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.007726, allocations: 16.45 kB / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007728, allocations: 0 / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.00773, allocations: 0 / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.007734, allocations: 0 / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.007841, allocations: 89.8 kB / 273.2 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.007842, allocations: 0 / 273.2 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.007955, allocations: 44.17 kB / 273.2 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.007958, allocations: 4 kB / 273.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.007969, allocations: 0 / 273.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.007972, allocations: 3.938 kB / 273.2 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007973, allocations: 0 / 273.2 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.008122, allocations: 171.7 kB / 273.4 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.008134, allocations: 3.953 kB / 273.4 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.008146, allocations: 4 kB / 273.4 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.194e-05/0.008188, allocations: 3.938 kB / 273.4 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.008215, allocations: 7.984 kB / 273.4 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.00822, allocations: 8.031 kB / 273.4 MB, free: 0.832 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.563e-05/0.008245, allocations: 31.81 kB / 273.5 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008245, allocations: 0 / 273.5 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001246/0.00837, allocations: 12 kB / 273.5 MB, free: 0.7891 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.0001151/0.008485, allocations: 76.42 kB / 273.5 MB, free: 0.707 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.32e-05/0.008568, allocations: 28.8 kB / 273.6 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.008571, allocations: 3.938 kB / 273.6 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.103e-05/0.008593, allocations: 16.84 kB / 273.6 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.008802, allocations: 34.44 kB / 273.6 MB, free: 0.625 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005684/0.009371, allocations: 263.5 kB / 273.9 MB, free: 348 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.078e-05/0.009412, allocations: 63.33 kB / 273.9 MB, free: 264 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.295e-05/0.009455, allocations: 4.734 kB / 273.9 MB, free: 256 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.009526, allocations: 63.36 kB / 274 MB, free: 192 kB / 250.7 MB Notification: Performance of SimCode: time 8.22e-07/0.009527, allocations: 7.938 kB / 274 MB, free: 184 kB / 250.7 MB Notification: Performance of Templates: time 0.003237/0.01276, allocations: 1.159 MB / 275.2 MB, free: 15.04 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 -s gbode -gbm=radauIIA3 -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","",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.601663156878203]