Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001602/0.001602, allocations: 100 kB / 21.18 MB, free: 0.6484 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.001699/0.001699, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 51.92 kB / 371.6 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2373, allocations: 52.17 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.00303/0.2403, allocations: 1.672 MB / 425.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009113/0.2412, allocations: 455 kB / 425.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.221e-05/0.2413, allocations: 3.938 kB / 425.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.2414, allocations: 7.875 kB / 425.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.2416, allocations: 31.8 kB / 426 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.2418, allocations: 47.92 kB / 426 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.242, allocations: 103.6 kB / 426.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.2421, allocations: 29.08 kB / 426.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.735e-05/0.2422, allocations: 43.84 kB / 426.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.405e-05/0.2423, allocations: 39.77 kB / 426.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.2423, allocations: 4 kB / 426.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.037e-05/0.2423, allocations: 11.94 kB / 426.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.2424, allocations: 19.92 kB / 426.3 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.2424, allocations: 35.73 kB / 426.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.2426, allocations: 87.36 kB / 426.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2426, allocations: 0 / 426.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2426, allocations: 0 / 426.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.2426, allocations: 0 / 426.4 MB, free: 11.89 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.0005768/0.2432, allocations: 344.8 kB / 426.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2432, allocations: 12.03 kB / 426.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.2433, allocations: 8.891 kB / 426.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.2435, allocations: 149.1 kB / 426.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.2435, allocations: 11.98 kB / 426.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.2436, allocations: 8 kB / 426.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.2438, allocations: 73.67 kB / 427 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2438, allocations: 3.938 kB / 427 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.2438, allocations: 0 / 427 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.2438, allocations: 4 kB / 427 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.2439, allocations: 43.95 kB / 427 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.2444, allocations: 288.2 kB / 427.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.2446, allocations: 58.59 kB / 427.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.211e-05/0.2446, allocations: 28.89 kB / 427.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.2446, allocations: 4 kB / 427.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.2447, allocations: 34.56 kB / 427.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.2447, allocations: 0 / 427.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002933/0.245, allocations: 109.5 kB / 427.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.245, allocations: 51.41 kB / 427.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.2451, allocations: 142.5 kB / 427.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2452, allocations: 29.7 kB / 427.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.2452, allocations: 116.1 kB / 427.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.2453, allocations: 15.89 kB / 427.9 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.2453, allocations: 17.72 kB / 427.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2454, allocations: 322.8 kB / 428.2 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/0.2455, allocations: 19.98 kB / 428.2 MB, free: 9.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.725e-05/0.2456, allocations: 16 kB / 428.2 MB, free: 9.859 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.2457, allocations: 48.84 kB / 428.3 MB, free: 9.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2457, allocations: 0 / 428.3 MB, free: 9.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001809/0.2459, allocations: 101.5 kB / 428.4 MB, free: 9.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2459, allocations: 7.938 kB / 428.4 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2459, allocations: 0 / 428.4 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2459, allocations: 0 / 428.4 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.2461, allocations: 39.97 kB / 428.4 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.2461, allocations: 4 kB / 428.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.73e-05/0.2462, allocations: 11.88 kB / 428.5 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.2462, allocations: 4 kB / 428.5 MB, free: 9.637 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.484e-05/0.2463, allocations: 113.8 kB / 428.6 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.2463, allocations: 15.89 kB / 428.6 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.2463, allocations: 8.406 kB / 428.6 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.2464, allocations: 7.938 kB / 428.6 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2464, allocations: 0 / 428.6 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2464, allocations: 3.984 kB / 428.6 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.2465, allocations: 133.3 kB / 428.7 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2465, allocations: 0 / 428.7 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.2467, allocations: 23.92 kB / 428.8 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2467, allocations: 0 / 428.8 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2467, allocations: 7.938 kB / 428.8 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2467, allocations: 4.234 kB / 428.8 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2467, allocations: 0 / 428.8 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.247, allocations: 203.5 kB / 429 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.247, allocations: 15.88 kB / 429 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.247, allocations: 4.297 kB / 429 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.783e-05/0.2471, allocations: 4 kB / 429 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.2472, allocations: 3.938 kB / 429 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.2472, allocations: 7.984 kB / 429 MB, free: 9.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.53e-05/0.2473, allocations: 113.3 kB / 429.1 MB, free: 8.926 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2473, allocations: 0 / 429.1 MB, free: 8.926 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.2475, allocations: 16.06 kB / 429.1 MB, free: 8.91 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.325e-05/0.2476, allocations: 91.25 kB / 429.2 MB, free: 8.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.2478, allocations: 43.97 kB / 429.3 MB, free: 8.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2478, allocations: 4 kB / 429.3 MB, free: 8.766 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.461e-05/0.2478, allocations: 23.92 kB / 429.3 MB, free: 8.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.2482, allocations: 26.73 kB / 429.3 MB, free: 8.719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006492/0.2488, allocations: 303 kB / 429.6 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.128e-05/0.2489, allocations: 84.19 kB / 429.7 MB, free: 8.285 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.159e-05/0.2489, allocations: 15.42 kB / 429.7 MB, free: 8.273 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2489, allocations: 0 / 429.7 MB, free: 8.273 MB / 334.1 MB Notification: Performance of Templates: time 0.003053/0.252, allocations: 1.237 MB / 430.9 MB, free: 7.035 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/InverseModel/InverseModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.928256966173649]