Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001814/0.001814, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002355/0.002355, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.486/1.486, allocations: 230.3 MB / 258 MB, free: 8.215 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2307/0.2307, allocations: 46.94 MB / 361.4 MB, free: 4.391 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo)
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(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31")
translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 83.86 kB / 0.4972 GB, free: 7.484 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3197, allocations: 66.03 MB / 0.5617 GB, free: 4.539 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002923/0.3226, allocations: 1.651 MB / 0.5633 GB, free: 2.883 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001043/0.3236, allocations: 0.5577 MB / 0.5638 GB, free: 2.324 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.3237, allocations: 0 / 0.5638 GB, free: 2.324 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003408/0.324, allocations: 123.7 kB / 0.564 GB, free: 2.203 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.3243, allocations: 131.5 kB / 0.5641 GB, free: 2.074 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.3246, allocations: 111.6 kB / 0.5642 GB, free: 1.965 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001758/0.3248, allocations: 103.7 kB / 0.5643 GB, free: 1.863 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.588e-05/0.3249, allocations: 15.64 kB / 0.5643 GB, free: 1.852 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.236e-05/0.325, allocations: 47.89 kB / 0.5643 GB, free: 1.805 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.3251, allocations: 103.7 kB / 0.5644 GB, free: 1.703 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.3252, allocations: 0 / 0.5644 GB, free: 1.703 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.483e-05/0.3252, allocations: 47.98 kB / 0.5645 GB, free: 1.656 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.898e-05/0.3253, allocations: 27.91 kB / 0.5645 GB, free: 1.629 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.928e-05/0.3254, allocations: 39.62 kB / 0.5646 GB, free: 1.59 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.3256, allocations: 118.3 kB / 0.5647 GB, free: 1.477 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.3256, allocations: 4 kB / 0.5647 GB, free: 1.473 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.274e-06/0.3256, allocations: 3.938 kB / 0.5647 GB, free: 1.469 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.813e-06/0.3256, allocations: 0 / 0.5647 GB, free: 1.469 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0006738/0.3263, allocations: 361.4 kB / 0.565 GB, free: 1.082 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.3263, allocations: 12.03 kB / 0.565 GB, free: 1.07 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.3264, allocations: 12.84 kB / 0.565 GB, free: 1.059 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.3266, allocations: 166.4 kB / 0.5652 GB, free: 0.8711 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3266, allocations: 8.312 kB / 0.5652 GB, free: 0.8633 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.3267, allocations: 4.375 kB / 0.5652 GB, free: 0.8594 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.3269, allocations: 54.23 kB / 0.5653 GB, free: 0.8008 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.3269, allocations: 4.188 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3269, allocations: 3.938 kB / 0.5653 GB, free: 0.793 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3269, allocations: 4 kB / 0.5653 GB, free: 0.7891 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.327, allocations: 27.97 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.3275, allocations: 283.8 kB / 0.5656 GB, free: 452 kB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.3276, allocations: 42.56 kB / 0.5656 GB, free: 400 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.3276, allocations: 16.94 kB / 0.5656 GB, free: 380 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.3277, allocations: 11.98 kB / 0.5656 GB, free: 368 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.3277, allocations: 30.56 kB / 0.5657 GB, free: 328 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3277, allocations: 0 / 0.5657 GB, free: 328 kB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0009085/0.3286, allocations: 249.1 kB / 0.5659 GB, free: 72 kB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.3287, allocations: 55.41 kB / 0.566 GB, free: 4 kB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.3289, allocations: 275.9 kB / 0.5662 GB, free: 15.71 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.329, allocations: 29.64 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.014e-05/0.3291, allocations: 112.1 kB / 0.5664 GB, free: 15.56 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.036e-05/0.3291, allocations: 35.8 kB / 0.5664 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.3291, allocations: 21.72 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001903/0.3293, allocations: 334.8 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.531e-05/0.3294, allocations: 27.98 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.567e-05/0.3295, allocations: 31.97 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.3297, allocations: 68.83 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3297, allocations: 0 / 0.5669 GB, free: 15.04 MB / 414.1 MB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002291/0.3299, allocations: 121.5 kB / 0.567 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3299, allocations: 8 kB / 0.567 GB, free: 14.9 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3299, allocations: 3.984 kB / 0.567 GB, free: 14.9 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3299, allocations: 3.938 kB / 0.567 GB, free: 14.89 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.992e-05/0.33, allocations: 16 kB / 0.567 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.33, allocations: 4.297 kB / 0.567 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.273e-05/0.3301, allocations: 4 kB / 0.567 GB, free: 14.87 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.3301, allocations: 0 / 0.567 GB, free: 14.87 MB / 414.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 (8):
 * Single equations (assignments): 8
 * 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.0001309/0.3302, allocations: 139.1 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.3302, allocations: 15.91 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.3305, allocations: 146.9 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3306, allocations: 4 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3306, allocations: 0 / 0.5673 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3306, allocations: 4 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005829/0.3311, allocations: 398.3 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3312, allocations: 8.016 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.3312, allocations: 16 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3312, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3312, allocations: 7.922 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.3312, allocations: 4 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3312, allocations: 0 / 0.5677 GB, free: 14.07 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.3315, allocations: 220.2 kB / 0.5679 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.3315, allocations: 11.91 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.3316, allocations: 7.938 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.3316, allocations: 11.98 kB / 0.568 GB, free: 13.81 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.3317, allocations: 3.984 kB / 0.568 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.3317, allocations: 7.938 kB / 0.568 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001912/0.3319, allocations: 212.1 kB / 0.5682 GB, free: 13.59 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3319, allocations: 0 / 0.5682 GB, free: 13.59 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002553/0.3322, allocations: 23.92 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * 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 simulation (8):
 * Single equations (assignments): 8
 * 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.001674/0.3338, allocations: 451 kB / 0.5686 GB, free: 13.28 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002521/0.3341, allocations: 75.89 kB / 0.5687 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3341, allocations: 0 / 0.5687 GB, free: 13.21 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 9.455e-05/0.3342, allocations: 35.92 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.3345, allocations: 28.7 kB / 0.5688 GB, free: 13.14 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/0.3352, allocations: 324.5 kB / 0.5691 GB, free: 12.8 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.3355, allocations: 0.7158 MB / 0.5698 GB, free: 12.06 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 8.025e-05/0.3356, allocations: 20.64 kB / 0.5698 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.3356, allocations: 23.42 kB / 0.5698 GB, free: 12.01 MB / 414.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.3356, allocations: 0 / 0.5698 GB, free: 12.01 MB / 414.1 MB
Notification: Performance of Templates: time 0.004663/0.3403, allocations: 1.475 MB / 0.5712 GB, free: 10.54 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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: 5.158946583047509]