Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.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.001444/0.001444, allocations: 112.3 kB / 21.17 MB, free: 0.7812 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.001784/0.001784, allocations: 213.3 kB / 24.46 MB, free: 4.359 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.604/1.604, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2825/0.2825, allocations: 46.9 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 179] 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81") [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.002345/0.002345, allocations: 79.88 kB / 0.4968 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4712/0.4735, allocations: 65.99 MB / 0.5613 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003875/0.4774, allocations: 1.841 MB / 0.563 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.4807, allocations: 1.801 MB / 0.5648 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.4808, allocations: 3.938 kB / 0.5648 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003563/0.4811, allocations: 55.69 kB / 0.5649 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004538/0.4816, allocations: 135.4 kB / 0.565 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.4819, allocations: 111.6 kB / 0.5651 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.4822, allocations: 207.3 kB / 0.5653 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.486e-05/0.4822, allocations: 13.67 kB / 0.5653 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.4824, allocations: 75.7 kB / 0.5654 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.4826, allocations: 87.53 kB / 0.5655 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.4827, allocations: 12 kB / 0.5655 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.4829, allocations: 111.9 kB / 0.5656 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.961e-05/0.4829, allocations: 43.78 kB / 0.5656 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.352e-05/0.483, allocations: 59.59 kB / 0.5657 GB, free: 468 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.4834, allocations: 229.8 kB / 0.5659 GB, free: 240 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4834, allocations: 4 kB / 0.5659 GB, free: 236 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4834, allocations: 0 / 0.5659 GB, free: 236 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.4834, allocations: 3.938 kB / 0.5659 GB, free: 232 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008129/0.4842, allocations: 0.4941 MB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4843, allocations: 12.03 kB / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.61e-05/0.4843, allocations: 16.84 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.4848, allocations: 248 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.4848, allocations: 8.375 kB / 0.5667 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.4848, allocations: 8.359 kB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.4851, allocations: 105.3 kB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4851, allocations: 0 / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.4851, allocations: 0 / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4851, allocations: 7.938 kB / 0.5668 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.4852, allocations: 35.91 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.4855, allocations: 218.5 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.4858, allocations: 101.2 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.672e-05/0.4859, allocations: 37.7 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.486, allocations: 7.938 kB / 0.5672 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002287/0.4862, allocations: 105 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.4862, allocations: 0 / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004741/0.4867, allocations: 169.4 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.4868, allocations: 136.5 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.487, allocations: 237 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.4871, allocations: 33.7 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.139e-05/0.4872, allocations: 112.1 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.4872, allocations: 39.72 kB / 0.568 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.4873, allocations: 29.66 kB / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4874, allocations: 330.8 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-05/0.4875, allocations: 35.92 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.4876, allocations: 69.14 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.4878, allocations: 91.34 kB / 0.5685 GB, free: 13.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4878, allocations: 4.031 kB / 0.5685 GB, free: 13.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002812/0.4881, allocations: 134 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4881, allocations: 8 kB / 0.5686 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4881, allocations: 0 / 0.5686 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4881, allocations: 0 / 0.5686 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4883, allocations: 27.98 kB / 0.5687 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.4883, allocations: 4 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.532e-05/0.4884, allocations: 15.89 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.4884, allocations: 12.05 kB / 0.5687 GB, free: 13.07 MB / 414.1 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001398/0.4885, allocations: 125.8 kB / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.4886, allocations: 19.84 kB / 0.5688 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.4889, allocations: 150.6 kB / 0.569 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.4889, allocations: 4 kB / 0.569 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4889, allocations: 0 / 0.569 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4889, allocations: 0 / 0.569 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.4892, allocations: 225.5 kB / 0.5692 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4892, allocations: 4 kB / 0.5692 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.4892, allocations: 15.86 kB / 0.5692 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.4892, allocations: 7.938 kB / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.4892, allocations: 0 / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4892, allocations: 0 / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.4892, allocations: 4 kB / 0.5692 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.4896, allocations: 165.8 kB / 0.5694 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.758e-05/0.4896, allocations: 104.9 kB / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.4897, allocations: 4 kB / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.4897, allocations: 11.98 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.4898, allocations: 4 kB / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.4898, allocations: 4 kB / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002035/0.49, allocations: 181.6 kB / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.49, allocations: 0 / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.4903, allocations: 51.88 kB / 0.5697 GB, free: 11.9 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (10): * Single equations (assignments): 6 * 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.001836/0.4921, allocations: 0.5032 MB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.4924, allocations: 83.89 kB / 0.5703 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4924, allocations: 0 / 0.5703 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.4926, allocations: 35.92 kB / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.493, allocations: 55.25 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006804/0.4936, allocations: 299.7 kB / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.494, allocations: 0.7242 MB / 0.5714 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.849e-05/0.4941, allocations: 29.52 kB / 0.5714 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/0.4942, allocations: 31.42 kB / 0.5714 GB, free: 10.28 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4942, allocations: 7.938 kB / 0.5714 GB, free: 10.27 MB / 414.1 MB Notification: Performance of Templates: time 0.008147/0.5024, allocations: 3.156 MB / 0.5745 GB, free: 7.137 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.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.655881898012012]