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.001882/0.001882, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002315/0.002315, allocations: 156.9 kB / 24.27 MB, free: 172 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.561/1.561, 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.3802/0.3802, allocations: 34.26 MB / 295.2 MB, free: 0.6484 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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.432e-05, allocations: 10.25 kB / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003824/0.003858, allocations: 1.868 MB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.006239, allocations: 1.087 MB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.919e-05/0.006338, allocations: 0 / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005935/0.006932, allocations: 263 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005701/0.007502, allocations: 243.1 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.007845, allocations: 119.5 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.00826, allocations: 279.2 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.008386, allocations: 17.95 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.008654, allocations: 155.6 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.00894, allocations: 191.6 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.008974, allocations: 8 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.009129, allocations: 75.84 kB / 381.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.009249, allocations: 67.77 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.396e-05/0.009343, allocations: 51.72 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004278/0.009771, allocations: 243.1 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.009775, allocations: 4 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.009777, allocations: 0 / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.009783, allocations: 0 / 381.9 MB, free: 14.15 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.0009499/0.01073, allocations: 0.5157 MB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.01077, allocations: 8.031 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.992e-05/0.01087, allocations: 40.7 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.01133, allocations: 240.1 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.01135, allocations: 8.375 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.01139, allocations: 4.375 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.01168, allocations: 114.2 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.0117, allocations: 192 / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.01171, allocations: 384 / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.01173, allocations: 7.938 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.01188, allocations: 51.89 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.01257, allocations: 424.5 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.01302, allocations: 129.1 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.01315, allocations: 45.77 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.01317, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005624/0.01373, allocations: 121 kB / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.032e-06/0.01373, allocations: 0 / 383.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001579/0.01531, allocations: 0.54 MB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/0.0154, allocations: 77.11 kB / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006357/0.01603, allocations: 0.5054 MB / 384.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.01607, allocations: 33.7 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.01623, allocations: 164.6 kB / 384.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.069e-05/0.01632, allocations: 83.36 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.35e-05/0.0164, allocations: 37.72 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.01662, allocations: 354.7 kB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.01676, allocations: 55.97 kB / 385.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.01694, allocations: 99.39 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.01726, allocations: 163.5 kB / 385.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01726, allocations: 0 / 385.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005106/0.01777, allocations: 249.2 kB / 386 MB, free: 9.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.01779, allocations: 7.984 kB / 386 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.0178, allocations: 0 / 386 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.01783, allocations: 7.938 kB / 386 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.01799, allocations: 44.05 kB / 386 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.01799, allocations: 4 kB / 386 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-05/0.01809, allocations: 15.92 kB / 386 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.01811, allocations: 8 kB / 386.1 MB, free: 9.812 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.0002169/0.01833, allocations: 173.8 kB / 386.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.0184, allocations: 39.77 kB / 386.3 MB, free: 9.594 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006181/0.01901, allocations: 285.1 kB / 386.5 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.01902, allocations: 4 kB / 386.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.01903, allocations: 4 kB / 386.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01903, allocations: 4 kB / 386.6 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.02016, allocations: 0.6839 MB / 387.2 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.02016, allocations: 4 kB / 387.2 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.02027, allocations: 35.92 kB / 387.3 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.02028, allocations: 4 kB / 387.3 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.0203, allocations: 4 kB / 387.3 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.0203, allocations: 7.938 kB / 387.3 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.02031, allocations: 8.109 kB / 387.3 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.02093, allocations: 453.6 kB / 387.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.02098, allocations: 35.64 kB / 387.8 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.02103, allocations: 8 kB / 387.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.02118, allocations: 11.98 kB / 387.8 MB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.02126, allocations: 19.97 kB / 387.8 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.02129, allocations: 12 kB / 387.8 MB, free: 7.941 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000443/0.02173, allocations: 379.1 kB / 388.2 MB, free: 7.578 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02173, allocations: 0 / 388.2 MB, free: 7.578 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003776/0.02211, allocations: 55.94 kB / 388.3 MB, free: 7.523 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.002554/0.02466, allocations: 0.5429 MB / 388.8 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004164/0.02508, allocations: 163.5 kB / 389 MB, free: 7.012 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.02508, allocations: 4 kB / 389 MB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.02527, allocations: 75.84 kB / 389 MB, free: 6.934 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006059/0.02588, allocations: 72.56 kB / 389.1 MB, free: 6.867 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.02702, allocations: 0.6223 MB / 389.7 MB, free: 6.203 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.02725, allocations: 182.1 kB / 389.9 MB, free: 6.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.02736, allocations: 37.91 kB / 389.9 MB, free: 5.969 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.762e-05/0.02744, allocations: 36.48 kB / 390 MB, free: 5.934 MB / 362.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02744, allocations: 0 / 390 MB, free: 5.934 MB / 362.7 MB Notification: Performance of Templates: time 0.008574/0.03601, allocations: 3.338 MB / 393.3 MB, free: 2.637 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.133937120088376]