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.001179/0.001179, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.00125/0.00125, allocations: 169.4 kB / 24.99 MB, free: 8.742 MB / 18.57 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 0.9749/0.9749, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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 1.984e-06/1.984e-06, allocations: 0 / 273 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.609e-05, allocations: 6.25 kB / 273 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002538/0.002565, allocations: 1.733 MB / 274.8 MB, free: 104 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.003573, allocations: 0.5259 MB / 275.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.003676, allocations: 7.938 kB / 275.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.003796, allocations: 15.86 kB / 275.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.004032, allocations: 31.72 kB / 275.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.00432, allocations: 55.86 kB / 275.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.004496, allocations: 107.6 kB / 275.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.004609, allocations: 25.28 kB / 275.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.004775, allocations: 59.88 kB / 275.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.004852, allocations: 27.91 kB / 275.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.00488, allocations: 4 kB / 275.6 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.889e-05/0.004929, allocations: 19.94 kB / 275.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.00499, allocations: 27.84 kB / 275.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.005031, allocations: 23.92 kB / 275.7 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.005196, allocations: 71.72 kB / 275.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.005199, allocations: 0 / 275.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.0052, allocations: 0 / 275.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.005205, allocations: 0 / 275.8 MB, free: 15.1 MB / 266.7 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.000511/0.005716, allocations: 436 kB / 276.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.005755, allocations: 8.031 kB / 276.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.005902, allocations: 36.83 kB / 276.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.006091, allocations: 148.9 kB / 276.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.006104, allocations: 8.375 kB / 276.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.006129, allocations: 4.375 kB / 276.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.006271, allocations: 78.92 kB / 276.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.00628, allocations: 3.938 kB / 276.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.006291, allocations: 4 kB / 276.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.006298, allocations: 4 kB / 276.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.772e-05/0.006346, allocations: 15.98 kB / 276.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.006812, allocations: 343.5 kB / 276.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.00694, allocations: 51.02 kB / 276.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.00698, allocations: 23.72 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.006996, allocations: 0 / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.007022, allocations: 37.39 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.007024, allocations: 0 / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002047/0.007228, allocations: 69.83 kB / 277 MB, free: 13.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.007259, allocations: 51.41 kB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.00739, allocations: 212.8 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.007405, allocations: 25.7 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.007487, allocations: 162.9 kB / 277.4 MB, free: 13.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.007512, allocations: 15.84 kB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.007552, allocations: 27.38 kB / 277.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.007688, allocations: 0.4884 MB / 278 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.475e-05/0.007723, allocations: 12.06 kB / 278 MB, free: 12.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.007751, allocations: 11.98 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.523e-05/0.007816, allocations: 35.83 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007818, allocations: 0 / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001119/0.00793, allocations: 69.62 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.007944, allocations: 8 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.007948, allocations: 0 / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.00796, allocations: 3.938 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.008132, allocations: 39.91 kB / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.008137, allocations: 0 / 278.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.008172, allocations: 19.83 kB / 278.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.008179, allocations: 0 / 278.2 MB, free: 12.48 MB / 266.7 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.911e-05/0.008258, allocations: 160.6 kB / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.008288, allocations: 11.95 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.008314, allocations: 12.47 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.008318, allocations: 7.984 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.008322, allocations: 3.938 kB / 278.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.008325, allocations: 0 / 278.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.008478, allocations: 140.6 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.008479, allocations: 0 / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.416e-05/0.008573, allocations: 23.97 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.008575, allocations: 0 / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.00859, allocations: 0 / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.008593, allocations: 4 kB / 278.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008594, allocations: 7.938 kB / 278.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.008812, allocations: 223.8 kB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.008829, allocations: 11.91 kB / 278.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.008847, allocations: 0 / 278.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.94e-05/0.008906, allocations: 4 kB / 278.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.008946, allocations: 7.922 kB / 278.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.008952, allocations: 4.062 kB / 278.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.936e-05/0.009031, allocations: 154.2 kB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009031, allocations: 0 / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000224/0.009255, allocations: 12 kB / 278.9 MB, free: 11.65 MB / 266.7 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.347e-05/0.009349, allocations: 91.28 kB / 279 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.009462, allocations: 43.61 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.009464, allocations: 0 / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.009499, allocations: 23.69 kB / 279.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.009811, allocations: 25.58 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007945/0.01061, allocations: 266.2 kB / 279.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.749e-05/0.01066, allocations: 63.34 kB / 279.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.244e-05/0.01071, allocations: 4 kB / 279.5 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.01075, allocations: 16.48 kB / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01075, allocations: 0 / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of Templates: time 0.003281/0.01403, allocations: 0.9601 MB / 280.4 MB, free: 10.11 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8961460031569004]