Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001181/0.001181, allocations: 161 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.057/1.057, allocations: 177 MB / 205.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 273 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.074e-05, allocations: 2.312 kB / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002116/0.002137, allocations: 1.719 MB / 274.7 MB, free: 40 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007085/0.002845, allocations: 0.5414 MB / 275.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.543e-05/0.002921, allocations: 0 / 275.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.989e-05/0.00302, allocations: 19.8 kB / 275.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.003191, allocations: 27.84 kB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.00339, allocations: 63.73 kB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.003525, allocations: 103.7 kB / 275.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.076e-05/0.003616, allocations: 21.3 kB / 275.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.003739, allocations: 63.81 kB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.003802, allocations: 31.89 kB / 275.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.003818, allocations: 4 kB / 275.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.915e-05/0.003857, allocations: 15.94 kB / 275.6 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.003906, allocations: 23.92 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.003937, allocations: 23.91 kB / 275.6 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.004061, allocations: 71.67 kB / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004063, allocations: 0 / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004064, allocations: 0 / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.004068, allocations: 0 / 275.7 MB, free: 15.03 MB / 266.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.0004161/0.004484, allocations: 440 kB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.004515, allocations: 11.98 kB / 276.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.004619, allocations: 36.83 kB / 276.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.004817, allocations: 153 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.004829, allocations: 4.375 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.004853, allocations: 8.375 kB / 276.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.004988, allocations: 85.67 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.004996, allocations: 3.938 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.005004, allocations: 0 / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.005012, allocations: 4 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.063e-05/0.005053, allocations: 23.92 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.005412, allocations: 331.5 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.073e-05/0.005503, allocations: 55.08 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.005531, allocations: 19.72 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.005543, allocations: 0 / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.005562, allocations: 41.39 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 6.42e-07/0.005563, allocations: 0 / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001703/0.005733, allocations: 65.58 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.005762, allocations: 59.41 kB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.005862, allocations: 205.2 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.946e-06/0.005871, allocations: 29.7 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.005927, allocations: 158.9 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.005948, allocations: 19.84 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.005977, allocations: 27.38 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.006081, allocations: 0.4884 MB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.006099, allocations: 8 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.75e-05/0.006117, allocations: 11.98 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.607e-05/0.006163, allocations: 31.62 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.006164, allocations: 0 / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.227e-05/0.006237, allocations: 69.62 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.006248, allocations: 10.81 kB / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.006252, allocations: 4 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.006263, allocations: 0 / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.006395, allocations: 39.91 kB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.0064, allocations: 0 / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.006424, allocations: 11.89 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.00643, allocations: 0 / 278.1 MB, free: 12.41 MB / 266.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 7.368e-05/0.006503, allocations: 164.5 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.006524, allocations: 15.94 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.939e-05/0.006543, allocations: 8.469 kB / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.006546, allocations: 8 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.00655, allocations: 3.938 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.006552, allocations: 0 / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.006686, allocations: 140.6 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006686, allocations: 0 / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.787e-05/0.006754, allocations: 24.22 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.006756, allocations: 3.938 kB / 278.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.00677, allocations: 8 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006771, allocations: 0 / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.006772, allocations: 4 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.006922, allocations: 227.8 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.006933, allocations: 11.91 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.006946, allocations: 4 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.853e-05/0.006985, allocations: 4 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.007012, allocations: 7.922 kB / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.007015, allocations: 0 / 278.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.023e-05/0.007095, allocations: 151.2 kB / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007095, allocations: 0 / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001448/0.00724, allocations: 16 kB / 278.9 MB, free: 11.57 MB / 266.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.499e-05/0.007305, allocations: 91.28 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.657e-05/0.007392, allocations: 39.89 kB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007393, allocations: 0 / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.007417, allocations: 19.62 kB / 279 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.007634, allocations: 28.83 kB / 279.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.008187, allocations: 258.2 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.751e-05/0.008224, allocations: 71.28 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.89e-05/0.008253, allocations: 4 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.008284, allocations: 16.48 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.008284, allocations: 0 / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of Templates: time 0.002438/0.01072, allocations: 0.956 MB / 280.4 MB, free: 10.04 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_trunk_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.0304261830169708]