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.001711/0.001711, allocations: 115 kB / 21.17 MB, free: 0.7812 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.002412/0.002412, allocations: 219.6 kB / 24.47 MB, free: 4.359 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.453/1.453, allocations: 230.4 MB / 258.1 MB, free: 8.16 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.001993/0.001993, allocations: 67.83 kB / 378.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3424, allocations: 53.33 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.00351/0.3459, allocations: 1.712 MB / 433.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.347, allocations: 0.5532 MB / 434.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.98e-05/0.3471, allocations: 4 kB / 434.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.3473, allocations: 15.86 kB / 434.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.3475, allocations: 23.78 kB / 434.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.3477, allocations: 63.86 kB / 434.4 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.3479, allocations: 95.7 kB / 434.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.348, allocations: 25.11 kB / 434.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.3482, allocations: 47.77 kB / 434.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3483, allocations: 43.78 kB / 434.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.3483, allocations: 8 kB / 434.6 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.658e-05/0.3484, allocations: 8 kB / 434.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.397e-05/0.3484, allocations: 27.84 kB / 434.7 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.3485, allocations: 43.73 kB / 434.7 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.3487, allocations: 93 kB / 434.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3487, allocations: 4 kB / 434.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3487, allocations: 0 / 434.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3487, allocations: 0 / 434.8 MB, free: 4.633 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.0006646/0.3494, allocations: 415 kB / 435.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3494, allocations: 8.031 kB / 435.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.3495, allocations: 24.83 kB / 435.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.3499, allocations: 216.7 kB / 435.4 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3499, allocations: 4.375 kB / 435.5 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.3499, allocations: 12.12 kB / 435.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.3501, allocations: 76.48 kB / 435.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3501, allocations: 0 / 435.5 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3501, allocations: 7.984 kB / 435.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.3502, allocations: 4 kB / 435.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.3503, allocations: 43.8 kB / 435.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.3509, allocations: 404.1 kB / 436 MB, free: 3.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.3511, allocations: 62.53 kB / 436 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.681e-05/0.3512, allocations: 32.89 kB / 436.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3512, allocations: 0 / 436.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.3512, allocations: 38.56 kB / 436.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.3512, allocations: 0 / 436.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003098/0.3515, allocations: 97.5 kB / 436.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3516, allocations: 59.39 kB / 436.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.3517, allocations: 144.7 kB / 436.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3518, allocations: 25.7 kB / 436.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.3518, allocations: 112.2 kB / 436.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.3519, allocations: 23.78 kB / 436.6 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.3519, allocations: 21.72 kB / 436.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3521, allocations: 322.8 kB / 436.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.28e-05/0.3521, allocations: 19.98 kB / 436.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.3522, allocations: 16 kB / 436.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.3523, allocations: 48.84 kB / 437 MB, free: 2.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3523, allocations: 0 / 437 MB, free: 2.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001878/0.3525, allocations: 101.5 kB / 437.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3525, allocations: 6.969 kB / 437.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3525, allocations: 0 / 437.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3525, allocations: 0 / 437.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.3528, allocations: 39.97 kB / 437.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3528, allocations: 4 kB / 437.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.3528, allocations: 3.953 kB / 437.1 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.3528, allocations: 11.92 kB / 437.2 MB, free: 2.039 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.0001041/0.3529, allocations: 117.8 kB / 437.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.353, allocations: 11.89 kB / 437.3 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.353, allocations: 8.312 kB / 437.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.353, allocations: 4 kB / 437.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.353, allocations: 0 / 437.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.353, allocations: 3.984 kB / 437.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.3533, allocations: 197.6 kB / 437.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3533, allocations: 3.984 kB / 437.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.3534, allocations: 27.86 kB / 437.5 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3534, allocations: 3.938 kB / 437.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3534, allocations: 4 kB / 437.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3534, allocations: 0 / 437.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3534, allocations: 4 kB / 437.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.3537, allocations: 199.8 kB / 437.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/0.3538, allocations: 85 kB / 437.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.3538, allocations: 4.062 kB / 437.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.252e-05/0.3539, allocations: 7.984 kB / 437.8 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.3539, allocations: 4.062 kB / 437.8 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.3539, allocations: 4 kB / 437.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.354, allocations: 111.2 kB / 437.9 MB, free: 1.164 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.354, allocations: 0 / 437.9 MB, free: 1.164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.3543, allocations: 19.89 kB / 438 MB, free: 1.145 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.0001173/0.3544, allocations: 103.2 kB / 438.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.3546, allocations: 43.97 kB / 438.1 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.3546, allocations: 4 kB / 438.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.3546, allocations: 27.98 kB / 438.1 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.355, allocations: 22.42 kB / 438.2 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006626/0.3556, allocations: 282.2 kB / 438.4 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.356, allocations: 0.7119 MB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.3561, allocations: 15.44 kB / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3561, allocations: 0 / 439.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of Templates: time 0.003352/0.3594, allocations: 1.218 MB / 440.4 MB, free: 14.66 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.237384090200067]