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.0011/0.0011, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001177/0.001177, allocations: 165.1 kB / 24.82 MB, free: 9.27 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.9335/0.9335, allocations: 177 MB / 205.1 MB, free: 5.48 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.2729/0.2729, allocations: 34.87 MB / 296.6 MB, free: 0.5273 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.803e-06/1.803e-06, allocations: 0 / 379.3 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.117e-05, allocations: 4.281 kB / 379.3 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002549/0.002581, allocations: 1.93 MB / 381.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.00414, allocations: 1.106 MB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.004259, allocations: 0 / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004345/0.004693, allocations: 251.2 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.005146, allocations: 239 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.005431, allocations: 123.5 kB / 383 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.005779, allocations: 279.2 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.005902, allocations: 21.94 kB / 383.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.006102, allocations: 159.6 kB / 383.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.006288, allocations: 187.6 kB / 383.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.006311, allocations: 8 kB / 383.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.006431, allocations: 67.91 kB / 383.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.41e-05/0.006505, allocations: 67.7 kB / 383.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.006557, allocations: 51.78 kB / 383.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.006788, allocations: 207.1 kB / 384 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.006793, allocations: 0 / 384 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.006794, allocations: 0 / 384 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.0068, allocations: 0 / 384 MB, free: 13.07 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.0005563/0.007356, allocations: 0.6234 MB / 384.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.007399, allocations: 12.03 kB / 384.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.007449, allocations: 40.7 kB / 384.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.007646, allocations: 227 kB / 384.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.007665, allocations: 12.38 kB / 384.9 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.007683, allocations: 4.375 kB / 384.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.007836, allocations: 124.4 kB / 385 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.007847, allocations: 192 / 385 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.007856, allocations: 384 / 385 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.007864, allocations: 7.938 kB / 385 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.993e-05/0.007904, allocations: 19.97 kB / 385 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.008269, allocations: 479.2 kB / 385.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.008459, allocations: 113.9 kB / 385.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.008494, allocations: 39.61 kB / 385.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.008511, allocations: 4 kB / 385.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.008636, allocations: 120.3 kB / 385.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.008637, allocations: 3.938 kB / 385.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009136/0.009551, allocations: 366.1 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.009588, allocations: 81.11 kB / 386.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.009822, allocations: 430.6 kB / 386.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.009838, allocations: 33.64 kB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.652e-05/0.009935, allocations: 227.2 kB / 386.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/0.009983, allocations: 75.41 kB / 387 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.01003, allocations: 47.34 kB / 387 MB, free: 9.805 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.01017, allocations: 0.539 MB / 387.6 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.344e-05/0.0102, allocations: 23.97 kB / 387.6 MB, free: 9.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.564e-05/0.01026, allocations: 76.83 kB / 387.7 MB, free: 9.141 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.561e-05/0.01035, allocations: 118.8 kB / 387.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01035, allocations: 0 / 387.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001778/0.01053, allocations: 189.3 kB / 388 MB, free: 8.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.01055, allocations: 4 kB / 388 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.01055, allocations: 0 / 388 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.01057, allocations: 4 kB / 388 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.969e-05/0.01065, allocations: 43.91 kB / 388 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.01066, allocations: 4 kB / 388 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.0107, allocations: 8 kB / 388 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.01071, allocations: 8.062 kB / 388 MB, free: 8.746 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.172e-05/0.01081, allocations: 180.4 kB / 388.2 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.01084, allocations: 43.77 kB / 388.2 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.01108, allocations: 216.4 kB / 388.5 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.01109, allocations: 7.984 kB / 388.5 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.01109, allocations: 0 / 388.5 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01109, allocations: 3.938 kB / 388.5 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000507/0.0116, allocations: 0.6988 MB / 389.2 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.0116, allocations: 7.938 kB / 389.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.01166, allocations: 27.98 kB / 389.2 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.01166, allocations: 4 kB / 389.2 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.01167, allocations: 15.92 kB / 389.2 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01167, allocations: 4 kB / 389.2 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01168, allocations: 3.938 kB / 389.2 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.01194, allocations: 498.9 kB / 389.7 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.01197, allocations: 35.73 kB / 389.8 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.012, allocations: 11.94 kB / 389.8 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.604e-05/0.01207, allocations: 12.03 kB / 389.8 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.01211, allocations: 27.91 kB / 389.8 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.01213, allocations: 11.98 kB / 389.8 MB, free: 6.855 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.01226, allocations: 271 kB / 390.1 MB, free: 6.594 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01226, allocations: 0 / 390.1 MB, free: 6.594 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002384/0.0125, allocations: 51.92 kB / 390.1 MB, free: 6.543 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.001093/0.0136, allocations: 495.7 kB / 390.6 MB, free: 6.207 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.01375, allocations: 111.5 kB / 390.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01375, allocations: 0 / 390.7 MB, free: 6.094 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/0.01382, allocations: 79.39 kB / 390.8 MB, free: 6.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.01419, allocations: 67.14 kB / 390.9 MB, free: 5.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006114/0.0148, allocations: 0.5205 MB / 391.4 MB, free: 5.371 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.406e-05/0.01486, allocations: 100.3 kB / 391.5 MB, free: 5.254 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.588e-05/0.01494, allocations: 41.92 kB / 391.5 MB, free: 5.211 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.01505, allocations: 118.2 kB / 391.6 MB, free: 5.094 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01505, allocations: 0 / 391.6 MB, free: 5.094 MB / 362.7 MB Notification: Performance of Templates: time 0.006029/0.02108, allocations: 3.7 MB / 395.3 MB, free: 1.457 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: 2.9385557770729065]