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.002074/0.002074, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.002541/0.002541, allocations: 156.9 kB / 24.26 MB, free: 148 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.468/1.468, allocations: 177 MB / 204.4 MB, free: 5.594 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.3565/0.3565, allocations: 34.25 MB / 295.2 MB, free: 0.6602 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 4.999e-06/4.999e-06, allocations: 4 kB / 377.3 MB, free: 2.793 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.354e-05/3.854e-05, allocations: 4.141 kB / 377.3 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004009/0.004047, allocations: 1.879 MB / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.006436, allocations: 1.077 MB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.006542, allocations: 4 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007484/0.007291, allocations: 171.3 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000499/0.00779, allocations: 183.2 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.008109, allocations: 119.5 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.008488, allocations: 247.2 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.008608, allocations: 25.89 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.008829, allocations: 135.7 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.009043, allocations: 135.6 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.009073, allocations: 8 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.009219, allocations: 59.92 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.009343, allocations: 63.75 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.887e-05/0.009422, allocations: 35.86 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003741/0.009796, allocations: 223.2 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.009799, allocations: 0 / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.009801, allocations: 3.938 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.009806, allocations: 0 / 381.7 MB, free: 14.42 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.0009021/0.01071, allocations: 476.6 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.01076, allocations: 16.03 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.01086, allocations: 28.8 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.01133, allocations: 221.8 kB / 382.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.01135, allocations: 8.375 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.01139, allocations: 8.328 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.01168, allocations: 107.9 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.0117, allocations: 4.188 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.01172, allocations: 4.375 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.01173, allocations: 7.922 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.01189, allocations: 63.88 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006454/0.01254, allocations: 392.5 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.01296, allocations: 125.2 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.01308, allocations: 41.77 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.0131, allocations: 4 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000273/0.01338, allocations: 121.1 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.01338, allocations: 7.938 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001469/0.01485, allocations: 0.5011 MB / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.01492, allocations: 85.05 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/0.01542, allocations: 384.5 kB / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.01546, allocations: 33.7 kB / 384.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.01559, allocations: 148.6 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.654e-05/0.01568, allocations: 75.42 kB / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.01576, allocations: 41.7 kB / 384.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.01596, allocations: 346.7 kB / 384.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.01611, allocations: 63.97 kB / 384.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.01628, allocations: 91.34 kB / 385 MB, free: 10.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.01659, allocations: 159.3 kB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.01659, allocations: 4 kB / 385.2 MB, free: 10.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004881/0.01708, allocations: 253.4 kB / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.0171, allocations: 8.062 kB / 385.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.01711, allocations: 4 kB / 385.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.01713, allocations: 0 / 385.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.01729, allocations: 39.98 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.0173, allocations: 7.984 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.819e-05/0.01739, allocations: 11.94 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.0174, allocations: 11.94 kB / 385.5 MB, free: 10.35 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.000183/0.01759, allocations: 157.8 kB / 385.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.01765, allocations: 31.81 kB / 385.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006253/0.01828, allocations: 284 kB / 385.9 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.01829, allocations: 7.984 kB / 386 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.01829, allocations: 0 / 386 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.0183, allocations: 0 / 386 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.01934, allocations: 0.6683 MB / 386.6 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.01935, allocations: 3.984 kB / 386.6 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.01945, allocations: 31.94 kB / 386.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.01945, allocations: 7.875 kB / 386.7 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.01947, allocations: 20.11 kB / 386.7 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01947, allocations: 0 / 386.7 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.01948, allocations: 4 kB / 386.7 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006258/0.0201, allocations: 445.6 kB / 387.1 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.02015, allocations: 27.8 kB / 387.2 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.02019, allocations: 8 kB / 387.2 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.02034, allocations: 8 kB / 387.2 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.02041, allocations: 19.97 kB / 387.2 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.02044, allocations: 11.98 kB / 387.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006021/0.02104, allocations: 291 kB / 387.5 MB, free: 8.254 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02104, allocations: 0 / 387.5 MB, free: 8.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003782/0.02142, allocations: 51.92 kB / 387.5 MB, free: 8.203 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.002561/0.02398, allocations: 0.5376 MB / 388.1 MB, free: 7.863 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.02441, allocations: 167.8 kB / 388.2 MB, free: 7.699 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.02441, allocations: 0 / 388.2 MB, free: 7.699 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.0246, allocations: 84.09 kB / 388.3 MB, free: 7.617 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006/0.0252, allocations: 64.75 kB / 388.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009956/0.02619, allocations: 0.5134 MB / 388.9 MB, free: 7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.02639, allocations: 157.3 kB / 389 MB, free: 6.824 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.0265, allocations: 37.92 kB / 389.1 MB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.742e-05/0.02659, allocations: 36.48 kB / 389.1 MB, free: 6.75 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02659, allocations: 0 / 389.1 MB, free: 6.75 MB / 362.7 MB Notification: Performance of Templates: time 0.008279/0.03487, allocations: 3.325 MB / 392.4 MB, free: 3.469 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] 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: 4.8665544328978285]