Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001842/0.001842, allocations: 106 kB / 21.18 MB, free: 0.707 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.002769/0.002769, allocations: 183.7 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 207.6 MB / 235.2 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 58.58 kB / 347.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.349, allocations: 49.16 MB / 396.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003546/0.3526, allocations: 1.682 MB / 398.5 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.3537, allocations: 0.5388 MB / 399 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.3538, allocations: 1.25 kB / 399 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.354, allocations: 15.2 kB / 399 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.3542, allocations: 22.91 kB / 399.1 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.3545, allocations: 48.91 kB / 399.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.3548, allocations: 101.2 kB / 399.2 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.355, allocations: 32.78 kB / 399.2 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.3551, allocations: 45.19 kB / 399.3 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.3552, allocations: 42.14 kB / 399.3 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.3552, allocations: 5.625 kB / 399.3 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.543e-05/0.3553, allocations: 7.312 kB / 399.3 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.823e-05/0.3553, allocations: 23.66 kB / 399.4 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.3554, allocations: 40.11 kB / 399.4 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.3556, allocations: 93.53 kB / 399.5 MB, free: 7.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/0.3556, allocations: 5.406 kB / 399.5 MB, free: 7.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3556, allocations: 0 / 399.5 MB, free: 7.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3556, allocations: 0 / 399.5 MB, free: 7.719 MB / 318.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.0006464/0.3563, allocations: 330.7 kB / 399.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3563, allocations: 14.8 kB / 399.8 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.3564, allocations: 13.59 kB / 399.8 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.3566, allocations: 143.4 kB / 400 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3567, allocations: 12.06 kB / 400 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.3567, allocations: 14.14 kB / 400 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.3569, allocations: 72.7 kB / 400.1 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3569, allocations: 0 / 400.1 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3569, allocations: 5.125 kB / 400.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3569, allocations: 5.125 kB / 400.1 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.3571, allocations: 38.25 kB / 400.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.3577, allocations: 389.8 kB / 400.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.3579, allocations: 59.08 kB / 400.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.457e-05/0.3579, allocations: 29.67 kB / 400.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.358, allocations: 1.156 kB / 400.6 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.358, allocations: 32.33 kB / 400.6 MB, free: 6.738 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.358, allocations: 4 kB / 400.6 MB, free: 6.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003454/0.3583, allocations: 96.67 kB / 400.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3584, allocations: 61.28 kB / 400.8 MB, free: 6.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.3585, allocations: 141.9 kB / 400.9 MB, free: 6.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.3585, allocations: 27.14 kB / 401 MB, free: 6.465 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.3586, allocations: 112.8 kB / 401.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.3586, allocations: 24.06 kB / 401.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.3587, allocations: 21.08 kB / 401.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.405e-05/0.3588, allocations: 324.5 kB / 401.4 MB, free: 6 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-05/0.3588, allocations: 20.89 kB / 401.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.84e-05/0.3589, allocations: 22.27 kB / 401.5 MB, free: 5.984 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.359, allocations: 48.64 kB / 401.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.359, allocations: 0 / 401.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001998/0.3592, allocations: 89.81 kB / 401.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.3593, allocations: 6.094 kB / 401.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.3593, allocations: 4.562 kB / 401.6 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.623e-05/0.3593, allocations: 0 / 401.6 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.3596, allocations: 41.03 kB / 401.7 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3596, allocations: 1.312 kB / 401.7 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.3596, allocations: 6.906 kB / 401.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.3596, allocations: 3.062 kB / 401.7 MB, free: 5.895 MB / 318.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 7.461e-05/0.3597, allocations: 114.2 kB / 401.8 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.3598, allocations: 15.94 kB / 401.8 MB, free: 5.766 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.3598, allocations: 16.5 kB / 401.8 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.3598, allocations: 1.281 kB / 401.8 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3598, allocations: 0.6094 kB / 401.8 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3598, allocations: 0 / 401.8 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.36, allocations: 165.5 kB / 402 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.36, allocations: 1.156 kB / 402 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.3601, allocations: 24.44 kB / 402 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.3601, allocations: 2.047 kB / 402 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.3602, allocations: 4.609 kB / 402 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3602, allocations: 1.25 kB / 402 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3602, allocations: 8.641 kB / 402 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.3605, allocations: 202.5 kB / 402.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.3605, allocations: 19.34 kB / 402.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.3605, allocations: 2.203 kB / 402.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.3606, allocations: 1.984 kB / 402.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.3606, allocations: 8.062 kB / 402.2 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.3606, allocations: 6.234 kB / 402.2 MB, free: 5.383 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.882e-05/0.3607, allocations: 111.1 kB / 402.4 MB, free: 5.297 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3607, allocations: 0 / 402.4 MB, free: 5.297 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.3609, allocations: 24.45 kB / 402.4 MB, free: 5.285 MB / 318.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 8.878e-05/0.361, allocations: 91.77 kB / 402.5 MB, free: 5.199 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.3612, allocations: 49.34 kB / 402.5 MB, free: 5.184 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3612, allocations: 0 / 402.5 MB, free: 5.184 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.094e-05/0.3613, allocations: 25.59 kB / 402.5 MB, free: 5.176 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.3617, allocations: 26.58 kB / 402.6 MB, free: 5.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/0.3623, allocations: 254 kB / 402.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.3624, allocations: 0.7016 MB / 403.5 MB, free: 4.293 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.745e-05/0.3625, allocations: 12.97 kB / 403.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.3625, allocations: 11.45 kB / 403.5 MB, free: 4.277 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3625, allocations: 0 / 403.5 MB, free: 4.277 MB / 318.1 MB Notification: Performance of Templates: time 0.004224/0.3667, allocations: 0.9446 MB / 404.5 MB, free: 4.156 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.882605010643601]