Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001041/0.001041, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001166/0.001166, allocations: 166.9 kB / 25.33 MB, free: 8.586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.03/1.03, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 251 MB, free: 7.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.52e-05, allocations: 6.25 kB / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.005518/0.005543, allocations: 1.698 MB / 252.7 MB, free: 5.816 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008075/0.006351, allocations: 0.5152 MB / 253.2 MB, free: 5.293 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.006429, allocations: 4 kB / 253.2 MB, free: 5.289 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.006535, allocations: 15.86 kB / 253.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.006737, allocations: 23.8 kB / 253.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.006927, allocations: 51.86 kB / 253.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.007085, allocations: 103.6 kB / 253.4 MB, free: 5.098 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.007196, allocations: 25.23 kB / 253.5 MB, free: 5.074 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003123/0.01032, allocations: 59.81 kB / 253.5 MB, free: 5.016 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/0.01039, allocations: 31.89 kB / 253.5 MB, free: 4.984 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.01041, allocations: 4 kB / 253.6 MB, free: 4.98 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.01043, allocations: 12 kB / 253.6 MB, free: 4.969 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.01048, allocations: 19.92 kB / 253.6 MB, free: 4.949 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.01053, allocations: 23.91 kB / 253.6 MB, free: 4.926 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.01065, allocations: 67.73 kB / 253.7 MB, free: 4.859 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.01065, allocations: 3.938 kB / 253.7 MB, free: 4.855 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01065, allocations: 0 / 253.7 MB, free: 4.855 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.01066, allocations: 0 / 253.7 MB, free: 4.855 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.0004572/0.01112, allocations: 428.2 kB / 254.1 MB, free: 4.402 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.01116, allocations: 11.98 kB / 254.1 MB, free: 4.391 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.01122, allocations: 24.84 kB / 254.1 MB, free: 4.367 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.0114, allocations: 148.9 kB / 254.3 MB, free: 4.195 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.01142, allocations: 12.31 kB / 254.3 MB, free: 4.184 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.01145, allocations: 4.375 kB / 254.3 MB, free: 4.18 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.0116, allocations: 82.91 kB / 254.4 MB, free: 4.09 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.01161, allocations: 3.938 kB / 254.4 MB, free: 4.086 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.01162, allocations: 4 kB / 254.4 MB, free: 4.082 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.01163, allocations: 4 kB / 254.4 MB, free: 4.078 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.01168, allocations: 15.98 kB / 254.4 MB, free: 4.062 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.01215, allocations: 343.4 kB / 254.7 MB, free: 3.691 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.01226, allocations: 51.12 kB / 254.8 MB, free: 3.625 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.518e-05/0.01229, allocations: 19.69 kB / 254.8 MB, free: 3.602 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.01231, allocations: 3.938 kB / 254.8 MB, free: 3.598 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.01233, allocations: 37.39 kB / 254.8 MB, free: 3.551 MB / 234.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.01233, allocations: 3.938 kB / 254.9 MB, free: 3.547 MB / 234.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001879/0.01252, allocations: 73.81 kB / 254.9 MB, free: 3.469 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.01255, allocations: 55.41 kB / 255 MB, free: 3.402 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.01266, allocations: 205.8 kB / 255.2 MB, free: 3.184 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.01268, allocations: 25.7 kB / 255.2 MB, free: 3.152 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.01274, allocations: 151 kB / 255.4 MB, free: 3 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.01276, allocations: 27.78 kB / 255.4 MB, free: 2.973 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.0128, allocations: 23.38 kB / 255.4 MB, free: 2.941 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.01292, allocations: 0.4923 MB / 255.9 MB, free: 2.438 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.385e-05/0.01295, allocations: 7.938 kB / 255.9 MB, free: 2.43 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.551e-05/0.01297, allocations: 15.98 kB / 255.9 MB, free: 2.414 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.149e-05/0.01303, allocations: 23.69 kB / 255.9 MB, free: 2.387 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.01303, allocations: 0 / 255.9 MB, free: 2.387 MB / 234.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00311/0.01614, allocations: 73.62 kB / 256 MB, free: 2.309 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.01615, allocations: 8 kB / 256 MB, free: 2.301 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.01616, allocations: 0 / 256 MB, free: 2.301 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.01617, allocations: 0 / 256 MB, free: 2.301 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.01634, allocations: 47.84 kB / 256.1 MB, free: 2.254 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.01635, allocations: 0 / 256.1 MB, free: 2.254 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.01637, allocations: 0 / 256.1 MB, free: 2.254 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.01638, allocations: 8 kB / 256.1 MB, free: 2.246 MB / 234.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.883e-05/0.01645, allocations: 156.6 kB / 256.2 MB, free: 2.082 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.01648, allocations: 11.91 kB / 256.2 MB, free: 2.07 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.01651, allocations: 16.47 kB / 256.3 MB, free: 2.055 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01651, allocations: 0 / 256.3 MB, free: 2.055 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.01652, allocations: 3.938 kB / 256.3 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01652, allocations: 0 / 256.3 MB, free: 2.051 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.01666, allocations: 144.5 kB / 256.4 MB, free: 1.875 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.01667, allocations: 0 / 256.4 MB, free: 1.875 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-05/0.01675, allocations: 23.97 kB / 256.4 MB, free: 1.852 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01675, allocations: 4 kB / 256.4 MB, free: 1.848 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.01677, allocations: 4 kB / 256.4 MB, free: 1.844 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.01677, allocations: 0 / 256.4 MB, free: 1.844 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01677, allocations: 0 / 256.4 MB, free: 1.844 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.01696, allocations: 231.8 kB / 256.7 MB, free: 1.598 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.01697, allocations: 3.953 kB / 256.7 MB, free: 1.594 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.01699, allocations: 11.94 kB / 256.7 MB, free: 1.582 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.846e-05/0.01704, allocations: 0 / 256.7 MB, free: 1.582 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.01708, allocations: 12.05 kB / 256.7 MB, free: 1.57 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.01709, allocations: 4 kB / 256.7 MB, free: 1.566 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.706e-05/0.01716, allocations: 143.2 kB / 256.8 MB, free: 1.426 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01716, allocations: 0 / 256.8 MB, free: 1.426 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.01738, allocations: 19.95 kB / 256.8 MB, free: 1.406 MB / 234.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.0001619/0.01754, allocations: 103.2 kB / 256.9 MB, free: 1.293 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.01765, allocations: 35.61 kB / 257 MB, free: 1.254 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01765, allocations: 0 / 257 MB, free: 1.254 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.597e-05/0.01769, allocations: 23.69 kB / 257 MB, free: 1.227 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.01798, allocations: 23.59 kB / 257 MB, free: 1.207 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/0.01859, allocations: 261.4 kB / 257.3 MB, free: 0.9258 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.547e-05/0.01863, allocations: 67.34 kB / 257.3 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.628e-05/0.01865, allocations: 7.859 kB / 257.4 MB, free: 0.832 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.01869, allocations: 16.48 kB / 257.4 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of SimCode: time 1.162e-06/0.01869, allocations: 0 / 257.4 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of Templates: time 0.003062/0.02175, allocations: 0.9548 MB / 258.3 MB, free: 15.87 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.957990833558142]