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.001338/0.001338, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.002164/0.002164, allocations: 220.6 kB / 23 MB, free: 5.57 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.652/1.652, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.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 0.001911/0.001911, allocations: 67.89 kB / 376.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3114, allocations: 53.32 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003726/0.3151, allocations: 1.715 MB / 431.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3162, allocations: 0.5532 MB / 432.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.379e-05/0.3163, allocations: 0 / 432.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.3164, allocations: 15.86 kB / 432.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.3167, allocations: 31.67 kB / 432.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.317, allocations: 55.92 kB / 432.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.3172, allocations: 99.64 kB / 432.3 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.3174, allocations: 29.09 kB / 432.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.3176, allocations: 43.84 kB / 432.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.3178, allocations: 47.77 kB / 432.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.3178, allocations: 4 kB / 432.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.707e-05/0.3179, allocations: 12 kB / 432.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.318, allocations: 27.86 kB / 432.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.708e-05/0.3181, allocations: 39.73 kB / 432.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.3184, allocations: 91.09 kB / 432.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.3184, allocations: 0 / 432.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.368e-06/0.3184, allocations: 0 / 432.5 MB, free: 4.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.3184, allocations: 0 / 432.5 MB, free: 4.781 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.0009066/0.3193, allocations: 416.6 kB / 433 MB, free: 4.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.3194, allocations: 8.031 kB / 433 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.3196, allocations: 28.83 kB / 433 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.32, allocations: 208.7 kB / 433.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.3201, allocations: 8.375 kB / 433.2 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.3201, allocations: 8.125 kB / 433.2 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.3204, allocations: 81.59 kB / 433.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3204, allocations: 0 / 433.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.3204, allocations: 8 kB / 433.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3204, allocations: 3.938 kB / 433.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.3206, allocations: 39.98 kB / 433.3 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008601/0.3215, allocations: 404 kB / 433.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.3217, allocations: 62.58 kB / 433.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.3218, allocations: 28.89 kB / 433.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.3218, allocations: 4 kB / 433.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.3219, allocations: 30.56 kB / 433.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.3219, allocations: 3.938 kB / 433.9 MB, free: 3.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004647/0.3223, allocations: 101.5 kB / 434 MB, free: 3.188 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.3224, allocations: 55.39 kB / 434 MB, free: 3.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.3226, allocations: 149.4 kB / 434.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.3227, allocations: 25.7 kB / 434.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.3228, allocations: 120.2 kB / 434.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.3228, allocations: 19.78 kB / 434.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.3229, allocations: 21.72 kB / 434.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.3231, allocations: 318.8 kB / 434.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/0.3232, allocations: 23.98 kB / 434.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.613e-05/0.3233, allocations: 19.98 kB / 434.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.3234, allocations: 48.84 kB / 434.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3234, allocations: 4.25 kB / 434.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002561/0.3237, allocations: 93.64 kB / 434.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.3237, allocations: 4 kB / 434.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3237, allocations: 4 kB / 434.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.3237, allocations: 4 kB / 434.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.3241, allocations: 39.97 kB / 434.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3241, allocations: 0 / 434.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.766e-05/0.3241, allocations: 11.94 kB / 434.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3241, allocations: 4 kB / 434.9 MB, free: 2.18 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 0.0001612/0.3243, allocations: 113.8 kB / 435 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.3244, allocations: 11.89 kB / 435 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.3244, allocations: 12.31 kB / 435 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3244, allocations: 0 / 435 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3244, allocations: 0 / 435 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3244, allocations: 7.922 kB / 435 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.3249, allocations: 197.6 kB / 435.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3249, allocations: 0 / 435.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.3251, allocations: 27.92 kB / 435.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.3251, allocations: 4 kB / 435.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3251, allocations: 0 / 435.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3251, allocations: 0 / 435.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3251, allocations: 0 / 435.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.3256, allocations: 199.5 kB / 435.5 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.24e-05/0.3257, allocations: 92.98 kB / 435.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.3257, allocations: 8 kB / 435.6 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3258, allocations: 3.984 kB / 435.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.3259, allocations: 4 kB / 435.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.3259, allocations: 0 / 435.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.326, allocations: 122.6 kB / 435.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.326, allocations: 0 / 435.7 MB, free: 1.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004117/0.3265, allocations: 15.94 kB / 435.7 MB, free: 1.281 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 0.0001579/0.3266, allocations: 95.25 kB / 435.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.3269, allocations: 55.91 kB / 435.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3269, allocations: 0 / 435.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.67e-05/0.327, allocations: 27.92 kB / 435.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.3275, allocations: 31.36 kB / 435.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008769/0.3284, allocations: 252.5 kB / 436.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.3289, allocations: 0.708 MB / 436.9 MB, free: 64 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.38e-05/0.329, allocations: 7.953 kB / 436.9 MB, free: 56 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.329, allocations: 11.44 kB / 436.9 MB, free: 44 kB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.329, allocations: 0 / 436.9 MB, free: 44 kB / 334.1 MB Notification: Performance of Templates: time 0.005603/0.3346, allocations: 0.9244 MB / 437.8 MB, free: 15.12 MB / 350.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.7981874803081155]