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.001577/0.001577, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001723/0.001723, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.464/1.464, allocations: 230.3 MB / 258 MB, free: 8.238 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.001875/0.001875, allocations: 63.89 kB / 378.7 MB, free: 2.883 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2864, allocations: 53.35 MB / 432.1 MB, free: 7.09 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003258/0.2896, allocations: 1.723 MB / 433.8 MB, free: 5.367 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001108/0.2907, allocations: 0.5609 MB / 434.4 MB, free: 4.801 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.926e-05/0.2908, allocations: 4 kB / 434.4 MB, free: 4.797 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000103/0.2909, allocations: 15.75 kB / 434.4 MB, free: 4.781 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.2911, allocations: 31.78 kB / 434.4 MB, free: 4.75 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.2913, allocations: 55.92 kB / 434.5 MB, free: 4.695 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001991/0.2915, allocations: 107.6 kB / 434.6 MB, free: 4.59 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.2917, allocations: 21.3 kB / 434.6 MB, free: 4.566 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.2918, allocations: 47.84 kB / 434.7 MB, free: 4.52 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.769e-05/0.2919, allocations: 47.7 kB / 434.7 MB, free: 4.473 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.2919, allocations: 4 kB / 434.7 MB, free: 4.469 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.521e-05/0.292, allocations: 12 kB / 434.7 MB, free: 4.457 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.292, allocations: 23.91 kB / 434.7 MB, free: 4.434 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.495e-05/0.2921, allocations: 43.73 kB / 434.8 MB, free: 4.391 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000177/0.2923, allocations: 97.2 kB / 434.9 MB, free: 4.305 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2923, allocations: 0 / 434.9 MB, free: 4.305 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.243e-06/0.2923, allocations: 0 / 434.9 MB, free: 4.305 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.35e-06/0.2923, allocations: 0 / 434.9 MB, free: 4.305 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.0006085/0.2929, allocations: 333.8 kB / 435.2 MB, free: 3.949 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2929, allocations: 12.03 kB / 435.2 MB, free: 3.938 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.2931, allocations: 28.83 kB / 435.2 MB, free: 3.91 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.2934, allocations: 150.5 kB / 435.4 MB, free: 3.742 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.2934, allocations: 4.375 kB / 435.4 MB, free: 3.738 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.2934, allocations: 12.12 kB / 435.4 MB, free: 3.727 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.2936, allocations: 89.53 kB / 435.5 MB, free: 3.633 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2936, allocations: 0 / 435.5 MB, free: 3.633 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2936, allocations: 0 / 435.5 MB, free: 3.633 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.2936, allocations: 0 / 435.5 MB, free: 3.633 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.2938, allocations: 43.98 kB / 435.5 MB, free: 3.59 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.2944, allocations: 371.1 kB / 435.9 MB, free: 3.172 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.2945, allocations: 66.61 kB / 436 MB, free: 3.098 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.883e-05/0.2946, allocations: 20.86 kB / 436 MB, free: 3.074 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.2946, allocations: 4 kB / 436 MB, free: 3.07 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.2946, allocations: 46.48 kB / 436 MB, free: 3.016 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.2946, allocations: 0 / 436 MB, free: 3.016 MB / 334.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0003077/0.295, allocations: 97.69 kB / 436.1 MB, free: 2.914 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.295, allocations: 51.41 kB / 436.2 MB, free: 2.852 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.2952, allocations: 146.4 kB / 436.3 MB, free: 2.691 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.2952, allocations: 29.7 kB / 436.4 MB, free: 2.656 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.2953, allocations: 112.2 kB / 436.5 MB, free: 2.543 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.2953, allocations: 19.8 kB / 436.5 MB, free: 2.523 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.2953, allocations: 21.72 kB / 436.5 MB, free: 2.496 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.000163/0.2955, allocations: 322.8 kB / 436.8 MB, free: 2.172 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.938e-05/0.2956, allocations: 23.98 kB / 436.8 MB, free: 2.148 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.2956, allocations: 28.05 kB / 436.9 MB, free: 2.121 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.2958, allocations: 48.78 kB / 436.9 MB, free: 2.07 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2958, allocations: 4 kB / 436.9 MB, free: 2.066 MB / 334.1 MB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001883/0.296, allocations: 93.55 kB / 437 MB, free: 1.969 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.296, allocations: 8 kB / 437 MB, free: 1.961 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.296, allocations: 0 / 437 MB, free: 1.961 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.296, allocations: 0 / 437 MB, free: 1.961 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.2962, allocations: 35.97 kB / 437.1 MB, free: 1.926 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2962, allocations: 0 / 437.1 MB, free: 1.926 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.2963, allocations: 7.953 kB / 437.1 MB, free: 1.918 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2963, allocations: 4 kB / 437.1 MB, free: 1.914 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.0001028/0.2964, allocations: 121.8 kB / 437.2 MB, free: 1.785 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.2964, allocations: 11.89 kB / 437.2 MB, free: 1.773 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.2965, allocations: 16.39 kB / 437.2 MB, free: 1.758 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2965, allocations: 0 / 437.2 MB, free: 1.758 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2965, allocations: 0 / 437.2 MB, free: 1.758 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2965, allocations: 0 / 437.2 MB, free: 1.758 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.2967, allocations: 164.7 kB / 437.4 MB, free: 1.555 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2967, allocations: 4 kB / 437.4 MB, free: 1.551 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.2969, allocations: 23.92 kB / 437.4 MB, free: 1.527 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2969, allocations: 4 kB / 437.4 MB, free: 1.523 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.2969, allocations: 7.984 kB / 437.4 MB, free: 1.516 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2969, allocations: 0 / 437.4 MB, free: 1.516 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2969, allocations: 240 / 437.4 MB, free: 1.516 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.2972, allocations: 191.5 kB / 437.6 MB, free: 1.312 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.6e-05/0.2972, allocations: 19.84 kB / 437.6 MB, free: 1.293 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.2973, allocations: 4 kB / 437.6 MB, free: 1.289 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/0.2973, allocations: 12 kB / 437.6 MB, free: 1.277 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.2974, allocations: 3.984 kB / 437.6 MB, free: 1.273 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.2974, allocations: 0 / 437.6 MB, free: 1.273 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0001041/0.2975, allocations: 110.3 kB / 437.8 MB, free: 1.168 MB / 334.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.2975, allocations: 0 / 437.8 MB, free: 1.168 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002459/0.2977, allocations: 23.89 kB / 437.8 MB, free: 1.145 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.0001046/0.2978, allocations: 95.23 kB / 437.9 MB, free: 1.043 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002167/0.2981, allocations: 52.03 kB / 437.9 MB, free: 0.9922 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2981, allocations: 4 kB / 437.9 MB, free: 0.9883 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 6.999e-05/0.2981, allocations: 23.92 kB / 437.9 MB, free: 0.9648 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.2985, allocations: 27.86 kB / 438 MB, free: 0.9375 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006988/0.2992, allocations: 252.9 kB / 438.2 MB, free: 0.6641 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.2996, allocations: 0.708 MB / 438.9 MB, free: 15.93 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 4.997e-05/0.2996, allocations: 11.94 kB / 438.9 MB, free: 15.92 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.2997, allocations: 11.44 kB / 439 MB, free: 15.91 MB / 350.1 MB
Notification: Performance of SimCode: time 2.8e-07/0.2997, allocations: 0 / 439 MB, free: 15.91 MB / 350.1 MB
Notification: Performance of Templates: time 0.004003/0.3037, allocations: 0.9462 MB / 439.9 MB, free: 14.97 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.621901333332062]