Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3574/0.3574, allocations: 32.79 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 375.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.8e-05, allocations: 5.547 kB / 375.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003316/0.003344, allocations: 1.723 MB / 377.1 MB, free: 3.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002813/0.006157, allocations: 1.684 MB / 378.8 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.51e-05/0.006222, allocations: 0 / 378.8 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.006491, allocations: 35.72 kB / 378.8 MB, free: 1.457 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003832/0.006874, allocations: 111.4 kB / 378.9 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.007078, allocations: 71.62 kB / 379 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.007281, allocations: 111.7 kB / 379.1 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.506e-05/0.007367, allocations: 8 kB / 379.1 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.007486, allocations: 63.77 kB / 379.1 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.007605, allocations: 31.89 kB / 379.2 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.00763, allocations: 8 kB / 379.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.007819, allocations: 95.88 kB / 379.3 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.007879, allocations: 27.84 kB / 379.3 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.007933, allocations: 19.92 kB / 379.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.008266, allocations: 187.4 kB / 379.5 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.008269, allocations: 0 / 379.5 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.00827, allocations: 0 / 379.5 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.008273, allocations: 0 / 379.5 MB, free: 0.7344 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006441/0.008918, allocations: 353.5 kB / 379.9 MB, free: 368 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.00895, allocations: 8.031 kB / 379.9 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.009014, allocations: 16.89 kB / 379.9 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.009306, allocations: 150.2 kB / 380 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.009322, allocations: 4.312 kB / 380 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.009349, allocations: 4.375 kB / 380 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004529/0.009801, allocations: 101 kB / 380.1 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.009813, allocations: 0 / 380.1 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.009824, allocations: 0 / 380.1 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.009828, allocations: 0 / 380.1 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.375e-05/0.009911, allocations: 27.98 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.01032, allocations: 232.5 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.01053, allocations: 62.61 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.562e-05/0.01059, allocations: 16.86 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.01061, allocations: 0 / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.01078, allocations: 71.38 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.01078, allocations: 0 / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000626/0.01141, allocations: 181.3 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.169e-05/0.01149, allocations: 81.11 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.01171, allocations: 170.5 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.01174, allocations: 29.7 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/0.01182, allocations: 104 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.01185, allocations: 27.73 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.0119, allocations: 21.7 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.01209, allocations: 326.8 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.01216, allocations: 20 kB / 381.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.01226, allocations: 72.25 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.01241, allocations: 65.73 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01241, allocations: 3.938 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002286/0.01264, allocations: 105.6 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.01266, allocations: 4 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.01266, allocations: 4 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.01268, allocations: 0 / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.861e-05/0.01278, allocations: 20.3 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.01278, allocations: 0 / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.542e-05/0.01284, allocations: 4 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.01286, allocations: 12 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001228/0.01298, allocations: 129.8 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.01302, allocations: 11.95 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.0133, allocations: 122.5 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.0133, allocations: 0 / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01331, allocations: 0 / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01331, allocations: 4 kB / 382 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.01384, allocations: 346.9 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01385, allocations: 4 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.01389, allocations: 8 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01389, allocations: 4.031 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.0139, allocations: 7.984 kB / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01391, allocations: 0 / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01391, allocations: 0 / 382.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.01422, allocations: 216.2 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.529e-05/0.01425, allocations: 11.95 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.01429, allocations: 7.984 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.01437, allocations: 0 / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.01442, allocations: 19.86 kB / 382.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.01443, allocations: 4 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001425/0.01457, allocations: 139.2 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01457, allocations: 0 / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003133/0.01489, allocations: 47.8 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002545/0.01743, allocations: 0.5836 MB / 383.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.01765, allocations: 71.78 kB / 383.5 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01765, allocations: 0 / 383.5 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.592e-05/0.01774, allocations: 31.92 kB / 383.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.01811, allocations: 37.8 kB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.01861, allocations: 213.3 kB / 383.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.01872, allocations: 85.44 kB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.271e-05/0.01878, allocations: 21.09 kB / 383.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.065e-05/0.01884, allocations: 24.48 kB / 383.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01884, allocations: 0 / 383.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of Templates: time 0.006482/0.02532, allocations: 2.533 MB / 386.4 MB, free: 9.77 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.911240037996322]