Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008603/0.0008603, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004953/0.004953, allocations: 156.7 kB / 24.7 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8513/0.8513, allocations: 177 MB / 204.9 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.901e-05, allocations: 3.125 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.001789/0.001808, allocations: 1.676 MB / 327.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000648/0.002456, allocations: 0.5143 MB / 328 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.002527, allocations: 7.938 kB / 328 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.154e-05/0.002618, allocations: 15.86 kB / 328 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.00278, allocations: 15.81 kB / 328 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.002969, allocations: 67.77 kB / 328.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.003102, allocations: 99.7 kB / 328.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.932e-05/0.003201, allocations: 33.28 kB / 328.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.003339, allocations: 67.75 kB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.96e-05/0.003409, allocations: 35.89 kB / 328.3 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.003428, allocations: 8 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.04e-05/0.003468, allocations: 11.94 kB / 328.3 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.003525, allocations: 19.91 kB / 328.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.003558, allocations: 23.92 kB / 328.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.003694, allocations: 87.69 kB / 328.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003696, allocations: 0 / 328.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.003697, allocations: 7.938 kB / 328.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.003702, allocations: 7.938 kB / 328.4 MB, free: 12.69 MB / 298.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.0004336/0.004135, allocations: 337.8 kB / 328.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.004171, allocations: 11.98 kB / 328.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.004276, allocations: 24.83 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.004457, allocations: 142.2 kB / 329 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.004468, allocations: 8.375 kB / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.004493, allocations: 8.312 kB / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.004624, allocations: 85.17 kB / 329.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.004633, allocations: 3.938 kB / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.004643, allocations: 4 kB / 329.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.004651, allocations: 8 kB / 329.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.677e-05/0.004717, allocations: 39.91 kB / 329.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.005089, allocations: 288.2 kB / 329.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.005212, allocations: 62.58 kB / 329.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.00525, allocations: 32.89 kB / 329.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.005265, allocations: 0 / 329.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.005286, allocations: 38.5 kB / 329.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.005287, allocations: 0 / 329.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001838/0.005471, allocations: 93.62 kB / 329.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.005498, allocations: 51.41 kB / 329.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.005582, allocations: 149.4 kB / 329.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.005592, allocations: 29.7 kB / 329.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.005636, allocations: 112.2 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.005657, allocations: 19.86 kB / 330 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.005867, allocations: 25.7 kB / 330 MB, free: 10.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.514e-05/0.005942, allocations: 318.8 kB / 330.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.212e-05/0.005975, allocations: 16 kB / 330.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.006004, allocations: 23.98 kB / 330.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.688e-05/0.006071, allocations: 48.78 kB / 330.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006073, allocations: 0 / 330.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001/0.006173, allocations: 93.75 kB / 330.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.006185, allocations: 8 kB / 330.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.006189, allocations: 4 kB / 330.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.0062, allocations: 0 / 330.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.006323, allocations: 39.91 kB / 330.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.006327, allocations: 0 / 330.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.006353, allocations: 11.89 kB / 330.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.00636, allocations: 4 kB / 330.5 MB, free: 10.41 MB / 298.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 5.644e-05/0.006417, allocations: 121.8 kB / 330.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.006432, allocations: 11.95 kB / 330.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.813e-05/0.00645, allocations: 8.469 kB / 330.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.006452, allocations: 7.938 kB / 330.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.006456, allocations: 3.938 kB / 330.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.006459, allocations: 4 kB / 330.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.006559, allocations: 133.3 kB / 330.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.00656, allocations: 0 / 330.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.456e-05/0.006625, allocations: 19.98 kB / 330.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.72e-07/0.006626, allocations: 3.938 kB / 330.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.006633, allocations: 4 kB / 330.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.006634, allocations: 256 / 330.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006635, allocations: 0 / 330.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.006805, allocations: 215.3 kB / 331.1 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.006816, allocations: 7.984 kB / 331.1 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.006828, allocations: 0 / 331.1 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.881e-05/0.006867, allocations: 7.984 kB / 331.1 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.006892, allocations: 7.938 kB / 331.1 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.006895, allocations: 0 / 331.1 MB, free: 9.816 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.792e-05/0.006943, allocations: 111.2 kB / 331.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006943, allocations: 0 / 331.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001465/0.007089, allocations: 19.95 kB / 331.2 MB, free: 9.688 MB / 298.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 6.328e-05/0.007153, allocations: 95.31 kB / 331.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.00726, allocations: 47.91 kB / 331.4 MB, free: 9.539 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.007261, allocations: 0 / 331.4 MB, free: 9.539 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.373e-05/0.007295, allocations: 23.98 kB / 331.4 MB, free: 9.516 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.0075, allocations: 15.98 kB / 331.4 MB, free: 9.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000421/0.007921, allocations: 279.1 kB / 331.7 MB, free: 9.195 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.599e-05/0.007987, allocations: 89.31 kB / 331.8 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.008022, allocations: 12.5 kB / 331.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008023, allocations: 0 / 331.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of Templates: time 0.001762/0.009785, allocations: 1.264 MB / 333 MB, free: 7.809 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_trunk_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.InverseModel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.31742647010833]