Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.001015/0.001015, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001199/0.001199, allocations: 160.9 kB / 24.99 MB, free: 8.805 MB / 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/1, allocations: 177 MB / 205.2 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2605/0.2605, allocations: 34.87 MB / 296.6 MB, free: 0.5625 MB / 266.7 MB " [Timeout remaining time 180] 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 378.8 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.524e-05, allocations: 2.312 kB / 378.8 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002765/0.00279, allocations: 1.941 MB / 380.8 MB, free: 380 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.004184, allocations: 1.112 MB / 381.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.004289, allocations: 4 kB / 381.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004405/0.004729, allocations: 259.1 kB / 382.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004167/0.005146, allocations: 227.1 kB / 382.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.005398, allocations: 127.5 kB / 382.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.005699, allocations: 279.2 kB / 382.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.005816, allocations: 21.95 kB / 382.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.006091, allocations: 159.6 kB / 382.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.006356, allocations: 191.6 kB / 383.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.006388, allocations: 8 kB / 383.1 MB, free: 14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.006553, allocations: 67.91 kB / 383.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.006658, allocations: 71.69 kB / 383.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.416e-05/0.006732, allocations: 39.81 kB / 383.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.007021, allocations: 211.2 kB / 383.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.007025, allocations: 3.984 kB / 383.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.007025, allocations: 0 / 383.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.007031, allocations: 0 / 383.5 MB, free: 13.62 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.0007079/0.007739, allocations: 0.6156 MB / 384.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.007781, allocations: 12.03 kB / 384.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.00787, allocations: 36.7 kB / 384.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.008204, allocations: 238.9 kB / 384.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.00823, allocations: 4.375 kB / 384.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.008263, allocations: 12.36 kB / 384.4 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.008518, allocations: 126.2 kB / 384.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.008533, allocations: 192 / 384.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.008548, allocations: 384 / 384.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.008559, allocations: 3.938 kB / 384.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.657e-05/0.008655, allocations: 39.91 kB / 384.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.009159, allocations: 0.5181 MB / 385.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.009474, allocations: 114.1 kB / 385.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.267e-05/0.009546, allocations: 43.42 kB / 385.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.009563, allocations: 7.938 kB / 385.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.009763, allocations: 116.4 kB / 385.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.934e-06/0.009764, allocations: 0 / 385.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001076/0.01084, allocations: 481.5 kB / 385.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.01089, allocations: 81.11 kB / 386 MB, free: 10.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004243/0.01132, allocations: 430.8 kB / 386.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.01135, allocations: 37.7 kB / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.01164, allocations: 227.3 kB / 386.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.766e-05/0.01171, allocations: 67.39 kB / 386.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.152e-05/0.01178, allocations: 51.36 kB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.01194, allocations: 0.5313 MB / 387.3 MB, free: 9.617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.403e-05/0.01202, allocations: 35.97 kB / 387.3 MB, free: 9.582 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.01213, allocations: 77.12 kB / 387.4 MB, free: 9.492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.01233, allocations: 126.6 kB / 387.5 MB, free: 9.352 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01233, allocations: 0 / 387.5 MB, free: 9.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003306/0.01266, allocations: 213.5 kB / 387.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.01268, allocations: 8 kB / 387.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01269, allocations: 80 / 387.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.01271, allocations: 4 kB / 387.7 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.01285, allocations: 39.92 kB / 387.8 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.01286, allocations: 11.97 kB / 387.8 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.01291, allocations: 11.94 kB / 387.8 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.01292, allocations: 4 kB / 387.8 MB, free: 9.059 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 9.907e-05/0.01302, allocations: 172.6 kB / 388 MB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/0.01308, allocations: 51.69 kB / 388 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004248/0.01351, allocations: 232.4 kB / 388.2 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.01351, allocations: 4 kB / 388.2 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01352, allocations: 0 / 388.2 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.01352, allocations: 0 / 388.2 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008225/0.01434, allocations: 0.7645 MB / 389 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.01435, allocations: 4 kB / 389 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.01445, allocations: 39.98 kB / 389.1 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.01446, allocations: 4 kB / 389.1 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.01447, allocations: 8 kB / 389.1 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.01448, allocations: 4 kB / 389.1 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.01448, allocations: 3.938 kB / 389.1 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.0149, allocations: 0.5146 MB / 389.6 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.01493, allocations: 31.75 kB / 389.6 MB, free: 7.125 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.01496, allocations: 8 kB / 389.6 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.01512, allocations: 11.98 kB / 389.6 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.01518, allocations: 19.97 kB / 389.7 MB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.01521, allocations: 16 kB / 389.7 MB, free: 7.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002634/0.01547, allocations: 291.1 kB / 390 MB, free: 6.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01548, allocations: 0 / 390 MB, free: 6.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004078/0.01588, allocations: 51.94 kB / 390 MB, free: 6.738 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.001456/0.01734, allocations: 490.4 kB / 390.5 MB, free: 6.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002816/0.01762, allocations: 127.4 kB / 390.6 MB, free: 6.277 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.01762, allocations: 0 / 390.6 MB, free: 6.277 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.01775, allocations: 75.53 kB / 390.7 MB, free: 6.199 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.01834, allocations: 71.41 kB / 390.8 MB, free: 6.133 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.01918, allocations: 0.5286 MB / 391.3 MB, free: 5.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.583e-05/0.01928, allocations: 104.3 kB / 391.4 MB, free: 5.426 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001155/0.01939, allocations: 45.89 kB / 391.4 MB, free: 5.379 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.664e-05/0.01947, allocations: 32.5 kB / 391.5 MB, free: 5.348 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01947, allocations: 0 / 391.5 MB, free: 5.348 MB / 362.7 MB Notification: Performance of Templates: time 0.007355/0.02683, allocations: 3.36 MB / 394.8 MB, free: 2.039 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.064021392026916]