Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.000983/0.000983, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.00114/0.00114, allocations: 165 kB / 24.56 MB, free: 12 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.008/1.008, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2758/0.2758, allocations: 34.26 MB / 295.7 MB, free: 0.7461 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.637e-06/3.637e-06, allocations: 4 kB / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.766e-05, allocations: 2.312 kB / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002055/0.002073, allocations: 1.766 MB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.003566, allocations: 1.73 MB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.701e-05/0.003633, allocations: 4 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.003897, allocations: 39.7 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002995/0.004196, allocations: 103.4 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.004349, allocations: 83.66 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.004495, allocations: 115.6 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.564e-05/0.00457, allocations: 4 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.32e-05/0.004644, allocations: 63.81 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.907e-05/0.004733, allocations: 39.89 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.00475, allocations: 8 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.004883, allocations: 111.8 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.683e-05/0.00493, allocations: 19.92 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.004968, allocations: 27.84 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.005187, allocations: 163.5 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005189, allocations: 3.938 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.00519, allocations: 4 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.005193, allocations: 0 / 382.4 MB, free: 14.26 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004413/0.005635, allocations: 459.7 kB / 382.8 MB, free: 13.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.005667, allocations: 8.031 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.005715, allocations: 12.89 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.005879, allocations: 164.3 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.005897, allocations: 4.375 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.005915, allocations: 4.375 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.006067, allocations: 115.9 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.006084, allocations: 7.938 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.006097, allocations: 0 / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.006106, allocations: 0 / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.665e-05/0.006153, allocations: 23.97 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.00646, allocations: 287.7 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.006582, allocations: 63.09 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.006619, allocations: 31.61 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.006633, allocations: 0 / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/0.006739, allocations: 73.03 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.00674, allocations: 0 / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000413/0.007153, allocations: 177.4 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.007188, allocations: 77.11 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.007312, allocations: 218.5 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.007325, allocations: 29.64 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.007377, allocations: 150.9 kB / 384.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.007402, allocations: 39.73 kB / 384.3 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.007435, allocations: 31.31 kB / 384.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.007541, allocations: 0.4923 MB / 384.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.007567, allocations: 15.98 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-05/0.007613, allocations: 72.75 kB / 384.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.899e-05/0.007672, allocations: 51.31 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.007673, allocations: 0 / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001069/0.00778, allocations: 101.5 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.007792, allocations: 10.34 kB / 385.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.007797, allocations: 8.062 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.007809, allocations: 0 / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.678e-05/0.007876, allocations: 19.98 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.00788, allocations: 0 / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.00791, allocations: 8 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.007916, allocations: 0 / 385.1 MB, free: 11.3 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 (11): * Single equations (assignments): 11 * 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 6.987e-05/0.007986, allocations: 171.4 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.008005, allocations: 15.91 kB / 385.3 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.008162, allocations: 122.4 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.008165, allocations: 4 kB / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.008168, allocations: 4 kB / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.008171, allocations: 0 / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.008456, allocations: 405 kB / 385.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.008457, allocations: 4 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.00849, allocations: 19.92 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.008492, allocations: 0 / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.008501, allocations: 4 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.008504, allocations: 4 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008505, allocations: 0 / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.008666, allocations: 271.8 kB / 386.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.556e-05/0.008681, allocations: 19.89 kB / 386.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.008699, allocations: 4 kB / 386.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.054e-05/0.00874, allocations: 7.938 kB / 386.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.00877, allocations: 7.984 kB / 386.1 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.008782, allocations: 4 kB / 386.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.385e-05/0.008856, allocations: 175.9 kB / 386.3 MB, free: 9.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008856, allocations: 0 / 386.3 MB, free: 9.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002024/0.009058, allocations: 47.88 kB / 386.4 MB, free: 9.945 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 (11): * Single equations (assignments): 9 * 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.001091/0.01015, allocations: 0.5414 MB / 386.9 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001331/0.01028, allocations: 63.59 kB / 387 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01028, allocations: 3.938 kB / 387 MB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.439e-05/0.01033, allocations: 39.61 kB / 387 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.01055, allocations: 38.25 kB / 387.1 MB, free: 9.453 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.01088, allocations: 218 kB / 387.3 MB, free: 9.207 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.326e-05/0.01092, allocations: 67.33 kB / 387.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.927e-05/0.01097, allocations: 32.69 kB / 387.4 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.01101, allocations: 24.48 kB / 387.4 MB, free: 9.066 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01101, allocations: 0 / 387.4 MB, free: 9.066 MB / 362.7 MB Notification: Performance of Templates: time 0.004223/0.01523, allocations: 2.897 MB / 390.3 MB, free: 6.203 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.315739674028009]