Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.00148/0.00148, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001784/0.001784, allocations: 161.2 kB / 25.61 MB, free: 8.887 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 0.9951/0.9951, allocations: 177 MB / 205.9 MB, free: 4.434 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.1581/0.1581, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.699e-05, allocations: 6.766 kB / 380.1 MB, free: 22.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002989/0.003006, allocations: 1.919 MB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.005113, allocations: 1.096 MB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.00529, allocations: 0 / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005834/0.005874, allocations: 231.2 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005114/0.006385, allocations: 215.1 kB / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.006731, allocations: 119.5 kB / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003609/0.007092, allocations: 267.2 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.00723, allocations: 17.95 kB / 384 MB, free: 18.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.007436, allocations: 151.5 kB / 384.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.007659, allocations: 155.7 kB / 384.3 MB, free: 18.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.007685, allocations: 8 kB / 384.3 MB, free: 18.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.007818, allocations: 63.91 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.615e-05/0.007904, allocations: 67.7 kB / 384.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/0.007968, allocations: 47.78 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.008267, allocations: 195.2 kB / 384.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.008269, allocations: 0 / 384.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.00827, allocations: 0 / 384.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.008276, allocations: 0 / 384.6 MB, free: 18.1 MB / 314.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.0006481/0.008924, allocations: 0.6079 MB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.008964, allocations: 12.03 kB / 385.2 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/0.009031, allocations: 40.69 kB / 385.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.009268, allocations: 224.5 kB / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.009289, allocations: 4.375 kB / 385.5 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.009317, allocations: 12.38 kB / 385.5 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.009499, allocations: 114.2 kB / 385.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.009514, allocations: 192 / 385.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.009527, allocations: 4.375 kB / 385.6 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.00954, allocations: 3.938 kB / 385.6 MB, free: 17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.579e-05/0.009605, allocations: 31.95 kB / 385.7 MB, free: 16.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.01006, allocations: 471.1 kB / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.01033, allocations: 118.1 kB / 386.2 MB, free: 16.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.75e-05/0.01037, allocations: 31.36 kB / 386.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.01039, allocations: 4 kB / 386.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.01056, allocations: 119.7 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.734e-06/0.01056, allocations: 4 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009477/0.01151, allocations: 370 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.01156, allocations: 85.09 kB / 386.8 MB, free: 15.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.01185, allocations: 386.2 kB / 387.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.01187, allocations: 33.7 kB / 387.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.01198, allocations: 215.2 kB / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.484e-05/0.01205, allocations: 79.39 kB / 387.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.01212, allocations: 47.34 kB / 387.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.01223, allocations: 0.5273 MB / 388.1 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.307e-05/0.01228, allocations: 31.97 kB / 388.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.623e-05/0.01236, allocations: 74.86 kB / 388.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.0125, allocations: 110.2 kB / 388.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.0125, allocations: 4 kB / 388.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002585/0.01276, allocations: 185.3 kB / 388.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.01278, allocations: 7.938 kB / 388.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.01279, allocations: 4 kB / 388.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.0128, allocations: 4.062 kB / 388.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.01294, allocations: 47.91 kB / 388.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01295, allocations: 0 / 388.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.01303, allocations: 11.95 kB / 388.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.01304, allocations: 12.23 kB / 388.6 MB, free: 13.86 MB / 314.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.91e-05/0.01314, allocations: 172.4 kB / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.0132, allocations: 43.8 kB / 388.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.01355, allocations: 216.3 kB / 389 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.01355, allocations: 4 kB / 389 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.01356, allocations: 4 kB / 389 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.01356, allocations: 0 / 389 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006372/0.0142, allocations: 0.6909 MB / 389.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.0142, allocations: 4 kB / 389.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.91e-05/0.01429, allocations: 31.92 kB / 389.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.0143, allocations: 4 kB / 389.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.01431, allocations: 11.94 kB / 389.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.01432, allocations: 7.984 kB / 389.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.01432, allocations: 128 / 389.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.01466, allocations: 0.4946 MB / 390.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.0147, allocations: 31.77 kB / 390.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.01474, allocations: 11.94 kB / 390.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.01488, allocations: 7.984 kB / 390.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.01493, allocations: 19.97 kB / 390.3 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.01495, allocations: 8 kB / 390.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001716/0.01512, allocations: 270.8 kB / 390.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01512, allocations: 0 / 390.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003959/0.01552, allocations: 47.94 kB / 390.7 MB, free: 11.68 MB / 314.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.001494/0.01701, allocations: 0.4885 MB / 391.2 MB, free: 11.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.01723, allocations: 111.5 kB / 391.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01723, allocations: 128 / 391.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.0174, allocations: 75.52 kB / 391.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.01795, allocations: 69.11 kB / 391.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006938/0.01865, allocations: 499.2 kB / 391.9 MB, free: 10.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.9e-05/0.01873, allocations: 104.2 kB / 392 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.01883, allocations: 42.17 kB / 392 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.01897, allocations: 118.2 kB / 392.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01897, allocations: 0 / 392.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of Templates: time 0.007404/0.02638, allocations: 3.742 MB / 395.9 MB, free: 6.629 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.623418431263417]