Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.001382/0.001382, allocations: 87.67 kB / 21.19 MB, free: 3.371 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.001237/0.001237, allocations: 156.5 kB / 24.55 MB, free: 16 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.02/1.02, allocations: 177 MB / 204.8 MB, free: 5.598 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.2744/0.2744, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.899e-05, allocations: 2.312 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002866/0.002885, allocations: 1.948 MB / 380.8 MB, free: 40 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.00438, allocations: 1.114 MB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.665e-05/0.004467, allocations: 3.938 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.004886, allocations: 255.2 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003889/0.005275, allocations: 235 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.005498, allocations: 123.5 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.005749, allocations: 283.2 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.005852, allocations: 17.95 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.005997, allocations: 155.6 kB / 383 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.006163, allocations: 199.5 kB / 383.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.006186, allocations: 8 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.9e-05/0.006285, allocations: 67.86 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.006356, allocations: 67.7 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.572e-05/0.006411, allocations: 43.8 kB / 383.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.006642, allocations: 207.2 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.006644, allocations: 3.938 kB / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.006645, allocations: 0 / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.006649, allocations: 4 kB / 383.6 MB, free: 13.28 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.0005493/0.007199, allocations: 0.6157 MB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.007234, allocations: 12.03 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.054e-05/0.007295, allocations: 36.7 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.007505, allocations: 238.9 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.007524, allocations: 8.375 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.007551, allocations: 4.375 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.007711, allocations: 118.2 kB / 384.6 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.007722, allocations: 8.172 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.007733, allocations: 4.375 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.007742, allocations: 7.938 kB / 384.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.568e-05/0.007798, allocations: 35.91 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.008323, allocations: 0.5181 MB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.008544, allocations: 114.1 kB / 385.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.9e-05/0.008593, allocations: 39.42 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.008608, allocations: 4 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.008749, allocations: 127.1 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.008751, allocations: 0 / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007953/0.009546, allocations: 477.6 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.00959, allocations: 85.05 kB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.009859, allocations: 430.8 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.009878, allocations: 33.7 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.774e-05/0.009976, allocations: 223.3 kB / 386.7 MB, free: 9.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.01002, allocations: 71.39 kB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.01007, allocations: 55.36 kB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.01024, allocations: 0.5313 MB / 387.3 MB, free: 9.277 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-05/0.01031, allocations: 31.92 kB / 387.3 MB, free: 9.246 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.01037, allocations: 84.89 kB / 387.4 MB, free: 9.148 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.0105, allocations: 126.8 kB / 387.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.0105, allocations: 0 / 387.6 MB, free: 9.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002038/0.0107, allocations: 201.3 kB / 387.7 MB, free: 8.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.01072, allocations: 16 kB / 387.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.01072, allocations: 80 / 387.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.01073, allocations: 0 / 387.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.01082, allocations: 39.98 kB / 387.8 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.01083, allocations: 3.984 kB / 387.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.01088, allocations: 15.92 kB / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.01089, allocations: 8 kB / 387.8 MB, free: 8.723 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 8.646e-05/0.01097, allocations: 172.5 kB / 388 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.01101, allocations: 47.77 kB / 388 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.01127, allocations: 240.4 kB / 388.3 MB, free: 8.258 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01128, allocations: 4 kB / 388.3 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01128, allocations: 0 / 388.3 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01128, allocations: 0 / 388.3 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.01181, allocations: 0.7645 MB / 389 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.01181, allocations: 4 kB / 389.1 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.455e-05/0.01187, allocations: 35.86 kB / 389.1 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01187, allocations: 4 kB / 389.1 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.01189, allocations: 12.12 kB / 389.1 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.01189, allocations: 3.938 kB / 389.1 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01189, allocations: 4 kB / 389.1 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.01218, allocations: 0.5066 MB / 389.6 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.0122, allocations: 35.75 kB / 389.7 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.01223, allocations: 8 kB / 389.7 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.0123, allocations: 8 kB / 389.7 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.01235, allocations: 23.94 kB / 389.7 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.01237, allocations: 12 kB / 389.7 MB, free: 6.738 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.01253, allocations: 295.1 kB / 390 MB, free: 6.453 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01253, allocations: 4 kB / 390 MB, free: 6.449 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.01277, allocations: 51.94 kB / 390 MB, free: 6.398 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.001058/0.01383, allocations: 488.2 kB / 390.5 MB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.01402, allocations: 131.4 kB / 390.7 MB, free: 5.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01402, allocations: 0 / 390.7 MB, free: 5.934 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.869e-05/0.0141, allocations: 75.53 kB / 390.7 MB, free: 5.855 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.01444, allocations: 65.59 kB / 390.8 MB, free: 5.801 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.01504, allocations: 0.5325 MB / 391.3 MB, free: 5.211 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.952e-05/0.01511, allocations: 104.3 kB / 391.4 MB, free: 5.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.994e-05/0.01518, allocations: 41.91 kB / 391.5 MB, free: 5.047 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.01523, allocations: 44.42 kB / 391.5 MB, free: 5.004 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01523, allocations: 0 / 391.5 MB, free: 5.004 MB / 362.7 MB Notification: Performance of Templates: time 0.005353/0.02059, allocations: 3.353 MB / 394.9 MB, free: 1.699 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.3010678188875318]