Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.00206/0.00206, 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.002935/0.002935, 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.576/1.576, allocations: 177 MB / 204.5 MB, free: 5.625 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.3799/0.3799, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.657e-05, allocations: 2.312 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003197/0.003224, allocations: 1.716 MB / 379 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.005135, allocations: 0.9775 MB / 380 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.738e-05/0.005212, allocations: 4 kB / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.005549, allocations: 39.64 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004031/0.005952, allocations: 95.53 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.006198, allocations: 79.66 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.006414, allocations: 115.6 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.006521, allocations: 8 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.006636, allocations: 51.89 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.507e-05/0.006721, allocations: 27.84 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.006742, allocations: 4 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.00685, allocations: 47.91 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.006915, allocations: 23.86 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.006966, allocations: 15.94 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.007224, allocations: 115.6 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.007228, allocations: 0 / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007229, allocations: 0 / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.007234, allocations: 4 kB / 380.6 MB, free: 15.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006247/0.007859, allocations: 341.6 kB / 380.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.007896, allocations: 8.031 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/0.007962, allocations: 16.88 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.008276, allocations: 153.5 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.00829, allocations: 384 / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.008325, allocations: 8.375 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.008504, allocations: 58.23 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.008517, allocations: 192 / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.008529, allocations: 4.375 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.008538, allocations: 3.938 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.249e-05/0.008621, allocations: 19.98 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.00901, allocations: 228.6 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.009212, allocations: 58.61 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.084e-05/0.009273, allocations: 16.86 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.009292, allocations: 3.984 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.00947, allocations: 71.33 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.009471, allocations: 0 / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006264/0.0101, allocations: 189.3 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.01015, allocations: 55.41 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.01038, allocations: 191.2 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.0104, allocations: 33.64 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.519e-05/0.01048, allocations: 100.1 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.01051, allocations: 19.86 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.01057, allocations: 29.7 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.01074, allocations: 322.8 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.363e-05/0.01081, allocations: 20 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.108e-05/0.01089, allocations: 41.7 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.01102, allocations: 53.7 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.01102, allocations: 0 / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002423/0.01126, allocations: 113.5 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.01128, allocations: 7.938 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01129, allocations: 0 / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.01131, allocations: 0 / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.01141, allocations: 23.92 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01141, allocations: 160 / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.441e-05/0.01147, allocations: 15.98 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.01148, allocations: 0 / 382.8 MB, free: 13.13 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.0001276/0.0116, allocations: 128 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.01164, allocations: 19.89 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.01193, allocations: 123 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.01194, allocations: 4 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.01194, allocations: 0 / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01195, allocations: 384 / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.0125, allocations: 350.9 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.0125, allocations: 8.031 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.01254, allocations: 8 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.01255, allocations: 4 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.01256, allocations: 0 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01256, allocations: 0 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.01257, allocations: 4 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.01287, allocations: 220.2 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.01289, allocations: 15.89 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.01291, allocations: 0 / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.01299, allocations: 4 kB / 383.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.01304, allocations: 19.92 kB / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.01307, allocations: 0 / 383.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001422/0.01321, allocations: 144.9 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01321, allocations: 0 / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000266/0.01348, allocations: 20 kB / 383.8 MB, free: 12.01 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.002209/0.01568, allocations: 490.2 kB / 384.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.01591, allocations: 59.84 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.01591, allocations: 0 / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.992e-05/0.016, allocations: 31.98 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.0164, allocations: 37.72 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.01695, allocations: 225.5 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.01707, allocations: 100.4 kB / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.139e-05/0.01712, allocations: 13.28 kB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.01717, allocations: 20.48 kB / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01717, allocations: 0 / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of Templates: time 0.00544/0.02261, allocations: 1.862 MB / 386.6 MB, free: 9.332 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.974804335040972]