Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001878/0.001878, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 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.002072/0.002072, allocations: 215.5 kB / 23.73 MB, free: 4.406 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.515/1.515, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 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.255/0.255, allocations: 46.95 MB / 360.8 MB, free: 3.93 MB / 286.1 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 79.88 kB / 0.4967 GB, free: 6.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3909, allocations: 66.09 MB / 0.5613 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003948/0.3949, allocations: 1.728 MB / 0.5629 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.3969, allocations: 0.9866 MB / 0.5639 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.397, allocations: 0 / 0.5639 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.3974, allocations: 111.5 kB / 0.564 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000455/0.3979, allocations: 131.5 kB / 0.5641 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.3982, allocations: 83.66 kB / 0.5642 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.3984, allocations: 143.6 kB / 0.5644 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3985, allocations: 13.59 kB / 0.5644 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3987, allocations: 59.77 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.3988, allocations: 75.73 kB / 0.5645 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.3988, allocations: 4 kB / 0.5645 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.399, allocations: 63.95 kB / 0.5646 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.574e-05/0.3991, allocations: 35.92 kB / 0.5646 GB, free: 500 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.3991, allocations: 43.66 kB / 0.5646 GB, free: 456 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.3994, allocations: 161.7 kB / 0.5648 GB, free: 300 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3995, allocations: 4 kB / 0.5648 GB, free: 296 kB / 398.1 MB Notification: Performance of FrontEnd: time 6.042e-06/0.3995, allocations: 3.984 kB / 0.5648 GB, free: 292 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.3995, allocations: 0 / 0.5648 GB, free: 292 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006647/0.4001, allocations: 397.2 kB / 0.5652 GB, free: 15.87 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.4002, allocations: 8.031 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.4002, allocations: 20.78 kB / 0.5652 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.4005, allocations: 163.2 kB / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.4006, allocations: 4.375 kB / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.4006, allocations: 4.375 kB / 0.5654 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.4009, allocations: 85.95 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.401, allocations: 3.953 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.401, allocations: 3.984 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.401, allocations: 0 / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.4011, allocations: 43.97 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.4016, allocations: 280.2 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.4019, allocations: 78.53 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.816e-05/0.402, allocations: 24.84 kB / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.402, allocations: 0 / 0.5659 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.4022, allocations: 87.31 kB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.4022, allocations: 0 / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000921/0.4031, allocations: 305.1 kB / 0.5662 GB, free: 14.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.4031, allocations: 59.34 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.4034, allocations: 267.7 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.4034, allocations: 30.55 kB / 0.5666 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.724e-05/0.4035, allocations: 116.1 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.354e-05/0.4036, allocations: 47.8 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.4036, allocations: 33.7 kB / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.4038, allocations: 338.8 kB / 0.5671 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.4039, allocations: 35.98 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.404, allocations: 61.64 kB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.4042, allocations: 105.7 kB / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.4042, allocations: 0 / 0.5673 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003189/0.4045, allocations: 176.8 kB / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4046, allocations: 4 kB / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.4046, allocations: 0 / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.4046, allocations: 4.031 kB / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.4047, allocations: 35.92 kB / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.4047, allocations: 0 / 0.5675 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.541e-05/0.4047, allocations: 11.92 kB / 0.5675 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.4048, allocations: 4 kB / 0.5675 GB, free: 13.32 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 (16): * Single equations (assignments): 16 * 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.0001388/0.4049, allocations: 137.8 kB / 0.5676 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.4049, allocations: 19.86 kB / 0.5677 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/0.4053, allocations: 203.1 kB / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4053, allocations: 0 / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4053, allocations: 8 kB / 0.5679 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4054, allocations: 3.938 kB / 0.5679 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000688/0.406, allocations: 459.7 kB / 0.5683 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.406, allocations: 0 / 0.5683 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.18e-05/0.4061, allocations: 31.92 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.4061, allocations: 3.938 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4061, allocations: 4 kB / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4061, allocations: 0 / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4061, allocations: 4 kB / 0.5683 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.4065, allocations: 276 kB / 0.5686 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.4066, allocations: 27.8 kB / 0.5686 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.4066, allocations: 3.938 kB / 0.5686 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.4067, allocations: 8 kB / 0.5686 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.4067, allocations: 11.97 kB / 0.5687 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.4067, allocations: 8 kB / 0.5687 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002334/0.407, allocations: 197.5 kB / 0.5689 GB, free: 11.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.407, allocations: 4 kB / 0.5689 GB, free: 11.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.4073, allocations: 35.92 kB / 0.5689 GB, free: 11.82 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 (16): * Single equations (assignments): 14 * 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.002142/0.4094, allocations: 0.5334 MB / 0.5694 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.4097, allocations: 103.9 kB / 0.5695 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4097, allocations: 4 kB / 0.5695 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.4098, allocations: 47.91 kB / 0.5696 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.4102, allocations: 46.39 kB / 0.5696 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007949/0.411, allocations: 336.6 kB / 0.5699 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.4112, allocations: 119.4 kB / 0.57 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.379e-05/0.4112, allocations: 25.41 kB / 0.5701 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.4114, allocations: 27.42 kB / 0.5701 GB, free: 10.73 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4114, allocations: 0 / 0.5701 GB, free: 10.73 MB / 414.1 MB Notification: Performance of Templates: time 0.0064/0.4178, allocations: 2.435 MB / 0.5725 GB, free: 8.324 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.337418099865317]