Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001796/0.001796, allocations: 99.53 kB / 20.96 MB, free: 3.453 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.002079/0.002079, allocations: 164.8 kB / 24.27 MB, free: 152 kB / 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 1.578/1.578, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3854/0.3854, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.779e-05, allocations: 2.312 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003584/0.003611, allocations: 1.913 MB / 379.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.005848, allocations: 1.091 MB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.994e-05/0.005948, allocations: 4 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004866/0.006435, allocations: 171.3 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005323/0.006967, allocations: 191.2 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.007285, allocations: 107.6 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003699/0.007655, allocations: 259.2 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.007759, allocations: 17.91 kB / 381.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.007979, allocations: 135.6 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.008208, allocations: 131.6 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.008244, allocations: 12 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.008384, allocations: 63.92 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.676e-05/0.008481, allocations: 59.77 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.695e-05/0.008558, allocations: 43.84 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.008918, allocations: 215.2 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.008924, allocations: 4 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.008926, allocations: 0 / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.008932, allocations: 3.938 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008791/0.009811, allocations: 0.5883 MB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.009842, allocations: 8.031 kB / 382.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.06e-05/0.009923, allocations: 28.8 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.01029, allocations: 216.7 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.01031, allocations: 8.375 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.01033, allocations: 8.328 kB / 382.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.01058, allocations: 117.5 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.01059, allocations: 192 / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.01061, allocations: 8.375 kB / 382.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.01061, allocations: 3.938 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.01074, allocations: 39.97 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/0.01143, allocations: 0.5219 MB / 383.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.01182, allocations: 142.1 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/0.01218, allocations: 47.42 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.01219, allocations: 4 kB / 383.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.01244, allocations: 128.4 kB / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.01244, allocations: 0 / 383.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001423/0.01386, allocations: 0.505 MB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.515e-05/0.01394, allocations: 81.11 kB / 384.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.0144, allocations: 398.3 kB / 384.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.01443, allocations: 33.7 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.01461, allocations: 211.3 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.625e-05/0.0147, allocations: 75.42 kB / 384.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.831e-05/0.01479, allocations: 55.36 kB / 384.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003257/0.01511, allocations: 0.5352 MB / 385.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.01525, allocations: 55.98 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.01542, allocations: 106.6 kB / 385.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.01571, allocations: 170.6 kB / 385.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.01571, allocations: 4 kB / 385.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004534/0.01616, allocations: 237.7 kB / 386 MB, free: 9.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.01618, allocations: 8 kB / 386 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.01619, allocations: 0 / 386 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.0162, allocations: 0 / 386 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.01635, allocations: 43.92 kB / 386 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01636, allocations: 0 / 386 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.936e-05/0.01644, allocations: 15.92 kB / 386.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.01645, allocations: 12 kB / 386.1 MB, free: 9.742 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001708/0.01662, allocations: 184.6 kB / 386.3 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.01668, allocations: 31.81 kB / 386.3 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000562/0.01725, allocations: 276 kB / 386.6 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.01725, allocations: 4 kB / 386.6 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01725, allocations: 0 / 386.6 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.01726, allocations: 0 / 386.6 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.01839, allocations: 0.8035 MB / 387.4 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01839, allocations: 0 / 387.4 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.0185, allocations: 39.86 kB / 387.4 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.0185, allocations: 8.125 kB / 387.4 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.01852, allocations: 11.94 kB / 387.4 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.01852, allocations: 0 / 387.4 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.01853, allocations: 7.984 kB / 387.4 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000654/0.01918, allocations: 0.5364 MB / 388 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.01924, allocations: 31.8 kB / 388 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.127e-05/0.01928, allocations: 8 kB / 388 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.01941, allocations: 4 kB / 388 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.01947, allocations: 27.89 kB / 388 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.0195, allocations: 11.98 kB / 388 MB, free: 7.652 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003001/0.0198, allocations: 271 kB / 388.3 MB, free: 7.387 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0198, allocations: 4 kB / 388.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003555/0.02016, allocations: 51.92 kB / 388.4 MB, free: 7.332 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003878/0.02404, allocations: 0.5326 MB / 388.9 MB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003851/0.02442, allocations: 171.3 kB / 389.1 MB, free: 6.824 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.02443, allocations: 4 kB / 389.1 MB, free: 6.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.02463, allocations: 95.78 kB / 389.2 MB, free: 6.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.02522, allocations: 64.36 kB / 389.2 MB, free: 6.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008962/0.02611, allocations: 0.4897 MB / 389.7 MB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.0263, allocations: 153.3 kB / 389.9 MB, free: 5.957 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.02641, allocations: 37.91 kB / 389.9 MB, free: 5.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.02648, allocations: 36.42 kB / 389.9 MB, free: 5.883 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02648, allocations: 0 / 389.9 MB, free: 5.883 MB / 362.7 MB Notification: Performance of Templates: time 0.008433/0.03492, allocations: 3.314 MB / 393.3 MB, free: 2.609 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.029367848997936]