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.001694/0.001694, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002266/0.002266, allocations: 203.4 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001613/0.001613, allocations: 55.91 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2936, allocations: 53.37 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003505/0.2971, allocations: 1.677 MB / 433.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.2983, allocations: 0.5182 MB / 433.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.934e-05/0.2984, allocations: 3.938 kB / 433.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.2985, allocations: 7.875 kB / 433.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.2988, allocations: 23.8 kB / 433.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.2991, allocations: 63.86 kB / 433.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.2993, allocations: 107.7 kB / 434 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.2994, allocations: 29.09 kB / 434 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.2995, allocations: 43.8 kB / 434 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.2997, allocations: 47.75 kB / 434.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.2997, allocations: 8 kB / 434.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.629e-05/0.2997, allocations: 12 kB / 434.1 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.2998, allocations: 23.86 kB / 434.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.2999, allocations: 31.8 kB / 434.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.3001, allocations: 97.89 kB / 434.2 MB, free: 4.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3001, allocations: 4 kB / 434.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3001, allocations: 0 / 434.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3001, allocations: 4 kB / 434.3 MB, free: 4.012 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.0006171/0.3007, allocations: 329.9 kB / 434.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3007, allocations: 15.97 kB / 434.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.3009, allocations: 20.83 kB / 434.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.3012, allocations: 154.2 kB / 434.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3012, allocations: 4.375 kB / 434.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.3013, allocations: 12.12 kB / 434.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.3015, allocations: 85.59 kB / 434.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3015, allocations: 0 / 434.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3015, allocations: 4 kB / 434.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3015, allocations: 0 / 434.9 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.3016, allocations: 39.98 kB / 434.9 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.3022, allocations: 284.3 kB / 435.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.3023, allocations: 54.59 kB / 435.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.698e-05/0.3024, allocations: 36.83 kB / 435.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.3024, allocations: 0 / 435.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.3025, allocations: 42.53 kB / 435.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.3025, allocations: 0 / 435.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003289/0.3028, allocations: 89.62 kB / 435.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.3028, allocations: 63.34 kB / 435.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.303, allocations: 142.4 kB / 435.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.303, allocations: 25.7 kB / 435.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.937e-05/0.3031, allocations: 112.2 kB / 435.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.3031, allocations: 23.8 kB / 435.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.3032, allocations: 17.72 kB / 435.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3033, allocations: 326.8 kB / 436.1 MB, free: 2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.3034, allocations: 23.92 kB / 436.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.966e-05/0.3034, allocations: 19.98 kB / 436.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.3036, allocations: 48.84 kB / 436.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3036, allocations: 0 / 436.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001877/0.3037, allocations: 85.64 kB / 436.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3038, allocations: 11.92 kB / 436.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3038, allocations: 4 kB / 436.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3038, allocations: 0 / 436.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.304, allocations: 43.91 kB / 436.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.304, allocations: 0 / 436.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.3041, allocations: 4.203 kB / 436.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.3041, allocations: 7.938 kB / 436.3 MB, free: 1.746 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 9.46e-05/0.3042, allocations: 113.8 kB / 436.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.3042, allocations: 19.83 kB / 436.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.3043, allocations: 20.39 kB / 436.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3043, allocations: 4 kB / 436.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3043, allocations: 0 / 436.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3043, allocations: 0 / 436.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.3045, allocations: 133.3 kB / 436.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3045, allocations: 0 / 436.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.3046, allocations: 23.98 kB / 436.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3046, allocations: 3.984 kB / 436.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3046, allocations: 3.938 kB / 436.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3046, allocations: 0 / 436.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3047, allocations: 0 / 436.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.305, allocations: 207.4 kB / 436.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.305, allocations: 11.94 kB / 436.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.305, allocations: 3.938 kB / 436.9 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.3051, allocations: 4 kB / 436.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.3051, allocations: 7.984 kB / 436.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.3052, allocations: 4 kB / 436.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.495e-05/0.3052, allocations: 109.5 kB / 437 MB, free: 1.035 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3052, allocations: 0 / 437 MB, free: 1.035 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.3055, allocations: 15.94 kB / 437 MB, free: 1.02 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 9.988e-05/0.3056, allocations: 99.31 kB / 437.1 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.3058, allocations: 43.92 kB / 437.2 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3058, allocations: 4 kB / 437.2 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.427e-05/0.3058, allocations: 19.98 kB / 437.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3061, allocations: 22.56 kB / 437.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006727/0.3068, allocations: 256.9 kB / 437.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.3069, allocations: 97.05 kB / 437.5 MB, free: 440 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.946e-05/0.307, allocations: 12.12 kB / 437.6 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.307, allocations: 11.44 kB / 437.6 MB, free: 420 kB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.307, allocations: 7.938 kB / 437.6 MB, free: 412 kB / 334.1 MB Notification: Performance of Templates: time 0.004084/0.3111, allocations: 1.047 MB / 438.6 MB, free: 15.38 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.549083287827671]