Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001796/0.001796, allocations: 105.1 kB / 21.22 MB, free: 0.5117 MB / 14.72 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.002333/0.002333, allocations: 217.3 kB / 24.54 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 8.023 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 72.75 kB / 379 MB, free: 2.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2975, allocations: 53.37 MB / 432.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003202/0.3007, allocations: 1.724 MB / 434.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3018, allocations: 0.5532 MB / 434.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-05/0.3019, allocations: 7.938 kB / 434.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.3021, allocations: 11.88 kB / 434.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/0.3023, allocations: 27.78 kB / 434.7 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.3027, allocations: 59.86 kB / 434.8 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.3029, allocations: 103.7 kB / 434.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.3031, allocations: 21.3 kB / 434.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.3032, allocations: 51.78 kB / 434.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3034, allocations: 43.77 kB / 435 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.3034, allocations: 4 kB / 435 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.652e-05/0.3035, allocations: 12 kB / 435 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.3035, allocations: 23.91 kB / 435 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.026e-05/0.3036, allocations: 43.73 kB / 435.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.3039, allocations: 93.2 kB / 435.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3039, allocations: 4 kB / 435.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.3039, allocations: 0 / 435.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.3039, allocations: 0 / 435.2 MB, free: 4.133 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.0007773/0.3047, allocations: 333.8 kB / 435.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.3047, allocations: 12.03 kB / 435.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.3049, allocations: 24.83 kB / 435.5 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.3052, allocations: 154.8 kB / 435.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.3053, allocations: 4.375 kB / 435.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.3053, allocations: 12.12 kB / 435.7 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.3055, allocations: 89.52 kB / 435.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3055, allocations: 0 / 435.8 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3055, allocations: 4 kB / 435.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3055, allocations: 4 kB / 435.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.3056, allocations: 43.08 kB / 435.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006034/0.3063, allocations: 367.1 kB / 436.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.3064, allocations: 66.56 kB / 436.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.893e-05/0.3065, allocations: 28.86 kB / 436.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.3065, allocations: 0 / 436.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.3065, allocations: 42.48 kB / 436.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3065, allocations: 0 / 436.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003029/0.3068, allocations: 97.56 kB / 436.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.3069, allocations: 51.41 kB / 436.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.307, allocations: 148.3 kB / 436.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3071, allocations: 29.7 kB / 436.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.002e-05/0.3071, allocations: 112.2 kB / 436.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.3072, allocations: 19.8 kB / 436.8 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.3072, allocations: 21.7 kB / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3074, allocations: 318.8 kB / 437.1 MB, free: 2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.979e-05/0.3074, allocations: 23.98 kB / 437.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.576e-05/0.3075, allocations: 19.98 kB / 437.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3076, allocations: 56.77 kB / 437.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3076, allocations: 0 / 437.2 MB, free: 1.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001793/0.3078, allocations: 93.56 kB / 437.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3078, allocations: 4 kB / 437.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3078, allocations: 0 / 437.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3078, allocations: 0 / 437.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.3081, allocations: 39.97 kB / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.3081, allocations: 0 / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.472e-05/0.3081, allocations: 8.203 kB / 437.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.3081, allocations: 8 kB / 437.4 MB, free: 1.742 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.0001106/0.3083, allocations: 117.8 kB / 437.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.3083, allocations: 11.89 kB / 437.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.3083, allocations: 20.39 kB / 437.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3083, allocations: 0 / 437.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3083, allocations: 0 / 437.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3083, allocations: 0 / 437.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.3086, allocations: 164.7 kB / 437.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3086, allocations: 4 kB / 437.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.3087, allocations: 27.86 kB / 437.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3087, allocations: 0 / 437.7 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3087, allocations: 7.984 kB / 437.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3087, allocations: 3.938 kB / 437.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3087, allocations: 0 / 437.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.3091, allocations: 203.4 kB / 437.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.3091, allocations: 15.98 kB / 437.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.3091, allocations: 4 kB / 437.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-05/0.3092, allocations: 0 / 437.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.3092, allocations: 7.984 kB / 437.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.3092, allocations: 0 / 437.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.074e-05/0.3093, allocations: 110.1 kB / 438 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3093, allocations: 0 / 438 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.3096, allocations: 27.88 kB / 438.1 MB, free: 0.9648 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.0001163/0.3097, allocations: 99.23 kB / 438.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.3099, allocations: 39.98 kB / 438.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3099, allocations: 3.938 kB / 438.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.017e-05/0.3099, allocations: 23.98 kB / 438.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.3103, allocations: 23.92 kB / 438.3 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.311, allocations: 256.9 kB / 438.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.3113, allocations: 0.7002 MB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.159e-05/0.3114, allocations: 16.12 kB / 439.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/0.3114, allocations: 11.44 kB / 439.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3114, allocations: 0 / 439.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of Templates: time 0.004088/0.3155, allocations: 0.9535 MB / 440.2 MB, free: 14.79 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.6069359155371785]