Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.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.001287/0.001287, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 14.72 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.001385/0.001385, allocations: 209.1 kB / 25.12 MB, free: 3.59 MB / 14.72 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.464/1.464, allocations: 230.4 MB / 258.7 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2448/0.2448, allocations: 46.93 MB / 362 MB, free: 4.223 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 76.2 kB / 0.4979 GB, free: 7.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3879, allocations: 66.08 MB / 0.5624 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003535/0.3915, allocations: 1.761 MB / 0.5641 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.3935, allocations: 1.057 MB / 0.5652 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.798e-05/0.3936, allocations: 0 / 0.5652 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.394, allocations: 47.75 kB / 0.5652 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.3943, allocations: 103.5 kB / 0.5653 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.3945, allocations: 79.73 kB / 0.5654 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.3948, allocations: 135.6 kB / 0.5655 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3949, allocations: 11.98 kB / 0.5655 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.395, allocations: 59.77 kB / 0.5656 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.3951, allocations: 51.77 kB / 0.5656 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.3952, allocations: 4 kB / 0.5656 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.3953, allocations: 71.91 kB / 0.5657 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.797e-05/0.3954, allocations: 23.91 kB / 0.5657 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.3954, allocations: 39.69 kB / 0.5658 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.3957, allocations: 150 kB / 0.5659 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3957, allocations: 7.938 kB / 0.5659 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3957, allocations: 0 / 0.5659 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3957, allocations: 0 / 0.5659 GB, free: 0.6406 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005786/0.3963, allocations: 369.4 kB / 0.5663 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3963, allocations: 15.97 kB / 0.5663 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.3964, allocations: 12.84 kB / 0.5663 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.3967, allocations: 170.3 kB / 0.5664 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3967, allocations: 4.375 kB / 0.5665 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.3967, allocations: 8.375 kB / 0.5665 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.397, allocations: 81.97 kB / 0.5665 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.397, allocations: 3.938 kB / 0.5665 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.397, allocations: 3.984 kB / 0.5665 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.397, allocations: 3.938 kB / 0.5665 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.3971, allocations: 39.97 kB / 0.5666 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.3976, allocations: 287.9 kB / 0.5669 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.3979, allocations: 82.58 kB / 0.5669 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/0.398, allocations: 32.83 kB / 0.567 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.398, allocations: 7.922 kB / 0.567 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.3982, allocations: 79.39 kB / 0.5671 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.3982, allocations: 0 / 0.5671 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009271/0.3991, allocations: 313.3 kB / 0.5674 GB, free: 15.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.3992, allocations: 51.41 kB / 0.5674 GB, free: 14.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.3994, allocations: 198.2 kB / 0.5676 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.3994, allocations: 29.7 kB / 0.5676 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.44e-05/0.3995, allocations: 100.4 kB / 0.5677 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.3995, allocations: 47.64 kB / 0.5678 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.3997, allocations: 33.7 kB / 0.5678 GB, free: 14.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3998, allocations: 330.8 kB / 0.5681 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.828e-05/0.3999, allocations: 39.92 kB / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.4, allocations: 61.62 kB / 0.5682 GB, free: 14.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.4002, allocations: 93.7 kB / 0.5683 GB, free: 14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4002, allocations: 0 / 0.5683 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002989/0.4005, allocations: 153.5 kB / 0.5684 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4006, allocations: 4 kB / 0.5684 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4006, allocations: 4.031 kB / 0.5684 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.4006, allocations: 0.8438 kB / 0.5684 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.4007, allocations: 31.98 kB / 0.5685 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.4007, allocations: 0 / 0.5685 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.4007, allocations: 3.938 kB / 0.5685 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.4008, allocations: 4 kB / 0.5685 GB, free: 13.79 MB / 414.1 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 (15): * Single equations (assignments): 15 * 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.0001487/0.4009, allocations: 136.6 kB / 0.5686 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.4009, allocations: 19.91 kB / 0.5686 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004068/0.4014, allocations: 182.5 kB / 0.5688 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4014, allocations: 4 kB / 0.5688 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4014, allocations: 3.938 kB / 0.5688 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.4014, allocations: 3.938 kB / 0.5688 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008218/0.4022, allocations: 459 kB / 0.5693 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.4022, allocations: 4 kB / 0.5693 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.4023, allocations: 15.98 kB / 0.5693 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.4023, allocations: 12 kB / 0.5693 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.4023, allocations: 4 kB / 0.5693 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.4023, allocations: 4 kB / 0.5693 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4023, allocations: 0 / 0.5693 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.4026, allocations: 261 kB / 0.5695 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.4027, allocations: 15.89 kB / 0.5696 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.4027, allocations: 15.98 kB / 0.5696 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/0.4028, allocations: 4 kB / 0.5696 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.4029, allocations: 7.984 kB / 0.5696 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.4029, allocations: 8 kB / 0.5696 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.403, allocations: 144.3 kB / 0.5697 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.403, allocations: 0 / 0.5697 GB, free: 12.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.4033, allocations: 39.88 kB / 0.5698 GB, free: 12.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.002032/0.4054, allocations: 0.4988 MB / 0.5703 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.4056, allocations: 95.83 kB / 0.5704 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4056, allocations: 4 kB / 0.5704 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.4058, allocations: 43.92 kB / 0.5704 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.4061, allocations: 35.3 kB / 0.5704 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.4067, allocations: 272.8 kB / 0.5707 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.4071, allocations: 0.7123 MB / 0.5714 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.386e-05/0.4072, allocations: 25.41 kB / 0.5714 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.999e-05/0.4072, allocations: 31.42 kB / 0.5714 GB, free: 10.8 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4072, allocations: 4 kB / 0.5714 GB, free: 10.79 MB / 414.1 MB Notification: Performance of Templates: time 0.007001/0.4142, allocations: 2.236 MB / 0.5736 GB, free: 8.574 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.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: 5.157490707933903]