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.001541/0.001541, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.001565/0.001565, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 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.449/1.449, allocations: 225.6 MB / 250.8 MB, free: 13.42 MB / 206.1 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 0.002031/0.002031, allocations: 47.92 kB / 368.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2984, allocations: 52.14 MB / 420.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003223/0.3016, allocations: 1.712 MB / 422.6 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3026, allocations: 0.4928 MB / 423.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.3027, allocations: 4 kB / 423.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.3029, allocations: 11.86 kB / 423.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.3031, allocations: 23.8 kB / 423.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.3034, allocations: 51.86 kB / 423.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.3036, allocations: 95.7 kB / 423.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.3037, allocations: 25.09 kB / 423.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.3038, allocations: 39.86 kB / 423.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.304, allocations: 55.69 kB / 423.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.304, allocations: 7.938 kB / 423.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.705e-05/0.304, allocations: 8 kB / 423.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.889e-05/0.3041, allocations: 19.92 kB / 423.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.733e-05/0.3042, allocations: 43.73 kB / 423.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.3043, allocations: 80.86 kB / 423.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3043, allocations: 0 / 423.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3043, allocations: 0 / 423.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3044, allocations: 0 / 423.5 MB, free: 12.48 MB / 334.1 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.0007479/0.3051, allocations: 418.9 kB / 423.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.3051, allocations: 8.031 kB / 423.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.3052, allocations: 16.88 kB / 423.9 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.3056, allocations: 207.5 kB / 424.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3056, allocations: 7.938 kB / 424.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.3056, allocations: 8 kB / 424.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.3059, allocations: 89.53 kB / 424.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3059, allocations: 4 kB / 424.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3059, allocations: 0 / 424.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3059, allocations: 0 / 424.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.306, allocations: 39.98 kB / 424.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007017/0.3067, allocations: 411.9 kB / 424.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.3069, allocations: 58.59 kB / 424.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.307, allocations: 28.89 kB / 424.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.307, allocations: 0 / 424.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.307, allocations: 42.44 kB / 424.8 MB, free: 11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.307, allocations: 0 / 424.8 MB, free: 11 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003116/0.3073, allocations: 97.61 kB / 424.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.3074, allocations: 55.41 kB / 425 MB, free: 10.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.3075, allocations: 137.8 kB / 425.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3075, allocations: 25.7 kB / 425.1 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.3076, allocations: 112.2 kB / 425.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.3077, allocations: 19.84 kB / 425.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.3077, allocations: 17.72 kB / 425.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3078, allocations: 322.8 kB / 425.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.177e-05/0.3079, allocations: 23.98 kB / 425.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.447e-05/0.308, allocations: 16 kB / 425.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.3081, allocations: 52.78 kB / 425.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.3081, allocations: 3.938 kB / 425.7 MB, free: 10.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001707/0.3082, allocations: 89.86 kB / 425.8 MB, free: 9.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3083, allocations: 4 kB / 425.8 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3083, allocations: 0 / 425.8 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3083, allocations: 0 / 425.8 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.3085, allocations: 51.97 kB / 425.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3085, allocations: 0 / 425.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.039e-05/0.3086, allocations: 11.88 kB / 425.8 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.3086, allocations: 4 kB / 425.8 MB, free: 9.91 MB / 334.1 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.0001127/0.3087, allocations: 125.7 kB / 426 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.3087, allocations: 7.953 kB / 426 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.3088, allocations: 12.3 kB / 426 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3088, allocations: 4 kB / 426 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3088, allocations: 0 / 426 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3088, allocations: 7.938 kB / 426 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.309, allocations: 197.6 kB / 426.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.309, allocations: 0 / 426.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.3092, allocations: 27.97 kB / 426.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3092, allocations: 3.938 kB / 426.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3092, allocations: 0 / 426.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3092, allocations: 0 / 426.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3092, allocations: 4 kB / 426.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.3095, allocations: 207.3 kB / 426.4 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.3095, allocations: 89.05 kB / 426.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.3096, allocations: 0 / 426.5 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.3096, allocations: 7.984 kB / 426.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.3097, allocations: 0 / 426.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.3097, allocations: 4 kB / 426.5 MB, free: 9.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.48e-05/0.3098, allocations: 113.3 kB / 426.6 MB, free: 9.016 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3098, allocations: 0 / 426.6 MB, free: 9.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.31, allocations: 12 kB / 426.6 MB, free: 9.004 MB / 334.1 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.0001219/0.3101, allocations: 95.31 kB / 426.7 MB, free: 8.902 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.3103, allocations: 51.91 kB / 426.8 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3103, allocations: 0 / 426.8 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.716e-05/0.3104, allocations: 27.92 kB / 426.8 MB, free: 8.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.3107, allocations: 23.14 kB / 426.8 MB, free: 8.805 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007556/0.3115, allocations: 268.9 kB / 427.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.3119, allocations: 0.7002 MB / 427.8 MB, free: 7.789 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.683e-05/0.312, allocations: 7.984 kB / 427.8 MB, free: 7.781 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.312, allocations: 11.44 kB / 427.8 MB, free: 7.77 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.312, allocations: 4 kB / 427.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of Templates: time 0.004185/0.3162, allocations: 0.9199 MB / 428.7 MB, free: 6.852 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] 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.5359749076887965]