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.001556/0.001556, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.00168/0.00168, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.432/1.432, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 2.414e-06/2.414e-06, allocations: 0.75 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.72e-05, allocations: 8.812 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002745/0.002772, allocations: 1.669 MB / 326.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.003878, allocations: 0.5266 MB / 327.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.00396, allocations: 1.062 kB / 327.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.004071, allocations: 15.97 kB / 327.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.004263, allocations: 14.58 kB / 327.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.004521, allocations: 70.59 kB / 327.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.004707, allocations: 101.9 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.004823, allocations: 29.64 kB / 327.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.004996, allocations: 67.44 kB / 327.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.81e-05/0.005084, allocations: 32.16 kB / 327.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.005108, allocations: 6.406 kB / 327.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.983e-05/0.005157, allocations: 13.48 kB / 327.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.41e-05/0.005222, allocations: 24.72 kB / 327.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.87e-05/0.00527, allocations: 20.7 kB / 327.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.005459, allocations: 89.84 kB / 327.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.005463, allocations: 0 / 327.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005464, allocations: 1.906 kB / 327.7 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.005468, allocations: 4 kB / 327.7 MB, free: 14.75 MB / 302.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.0006516/0.00612, allocations: 340.4 kB / 328 MB, free: 14.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.006157, allocations: 18.72 kB / 328 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.00631, allocations: 23.06 kB / 328.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.006624, allocations: 140.5 kB / 328.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.006638, allocations: 9.281 kB / 328.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.006664, allocations: 5.094 kB / 328.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.006863, allocations: 81.45 kB / 328.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.006876, allocations: 8.438 kB / 328.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.006889, allocations: 5.344 kB / 328.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.006894, allocations: 1.219 kB / 328.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.007017, allocations: 40.97 kB / 328.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.007558, allocations: 291.6 kB / 328.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.007736, allocations: 61.17 kB / 328.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.007812, allocations: 28.64 kB / 328.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.007832, allocations: 5.906 kB / 328.7 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.007868, allocations: 35.53 kB / 328.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.007869, allocations: 1.062 kB / 328.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003155/0.008184, allocations: 97.66 kB / 328.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.008229, allocations: 53.16 kB / 328.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.008388, allocations: 151.6 kB / 329 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.008408, allocations: 25.7 kB / 329.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.008484, allocations: 110.1 kB / 329.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.008527, allocations: 23.56 kB / 329.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.00857, allocations: 21.34 kB / 329.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.008733, allocations: 319.9 kB / 329.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.685e-05/0.0088, allocations: 17.72 kB / 329.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.816e-05/0.008858, allocations: 23.12 kB / 329.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.008985, allocations: 47.95 kB / 329.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008987, allocations: 1.156 kB / 329.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001951/0.009182, allocations: 93.53 kB / 329.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.009197, allocations: 5.5 kB / 329.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.009201, allocations: 4.656 kB / 329.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.009215, allocations: 1.062 kB / 329.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.009448, allocations: 40.81 kB / 329.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.009453, allocations: 0 / 329.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/0.009512, allocations: 11.98 kB / 329.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.009525, allocations: 5.797 kB / 329.8 MB, free: 13.01 MB / 302.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.0001186/0.009644, allocations: 115.5 kB / 329.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.009679, allocations: 8.422 kB / 329.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.492e-05/0.009724, allocations: 16.39 kB / 329.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.009727, allocations: 5.344 kB / 329.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.009734, allocations: 4.641 kB / 329.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.009737, allocations: 1.062 kB / 329.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.009932, allocations: 131.5 kB / 330.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.009933, allocations: 3.938 kB / 330.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.01009, allocations: 22.09 kB / 330.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01009, allocations: 0.6562 kB / 330.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.01011, allocations: 5.625 kB / 330.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01011, allocations: 0.9688 kB / 330.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01011, allocations: 4.188 kB / 330.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.01045, allocations: 211.9 kB / 330.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.01047, allocations: 6.703 kB / 330.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.01049, allocations: 1.781 kB / 330.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.155e-05/0.01058, allocations: 7.484 kB / 330.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.01062, allocations: 8.453 kB / 330.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.01063, allocations: 2.141 kB / 330.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.01074, allocations: 107 kB / 330.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01075, allocations: 5.125 kB / 330.4 MB, free: 12.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.01099, allocations: 19.7 kB / 330.5 MB, free: 12.46 MB / 302.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.000101/0.01109, allocations: 94.97 kB / 330.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.01127, allocations: 45.42 kB / 330.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01127, allocations: 0 / 330.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.825e-05/0.01134, allocations: 25.98 kB / 330.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.01167, allocations: 18.84 kB / 330.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006606/0.01233, allocations: 247.3 kB / 330.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.01244, allocations: 92.81 kB / 331 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.882e-05/0.01249, allocations: 9.625 kB / 331 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.01253, allocations: 12.8 kB / 331 MB, free: 12.07 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.01253, allocations: 0 / 331 MB, free: 12.07 MB / 302.1 MB Notification: Performance of Templates: time 0.004099/0.01663, allocations: 0.9636 MB / 332 MB, free: 11.72 MB / 302.1 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.104071643203497]