Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.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.001396/0.001396, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001421/0.001421, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.513/1.513, allocations: 230.3 MB / 258 MB, free: 8.188 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.2537/0.2537, allocations: 46.93 MB / 361.4 MB, free: 4.379 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36") [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.002669/0.002669, allocations: 83.86 kB / 0.4972 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4871/0.4898, allocations: 66.03 MB / 0.5617 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003679/0.4934, allocations: 1.772 MB / 0.5635 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.4954, allocations: 1.06 MB / 0.5645 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.389e-05/0.4955, allocations: 3.938 kB / 0.5645 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.4959, allocations: 87.64 kB / 0.5646 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003979/0.4963, allocations: 119.5 kB / 0.5647 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.4966, allocations: 83.67 kB / 0.5648 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.4968, allocations: 123.6 kB / 0.5649 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.497, allocations: 15.95 kB / 0.5649 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.4971, allocations: 59.78 kB / 0.565 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.4972, allocations: 75.73 kB / 0.565 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.4973, allocations: 4 kB / 0.565 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.4974, allocations: 59.97 kB / 0.5651 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.27e-05/0.4975, allocations: 31.84 kB / 0.5651 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.556e-05/0.4975, allocations: 35.69 kB / 0.5652 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.4978, allocations: 149.9 kB / 0.5653 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4978, allocations: 0 / 0.5653 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4978, allocations: 0 / 0.5653 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.4978, allocations: 0 / 0.5653 GB, free: 0.8125 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000654/0.4985, allocations: 377.3 kB / 0.5657 GB, free: 424 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4985, allocations: 12.03 kB / 0.5657 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.4986, allocations: 12.84 kB / 0.5657 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.4989, allocations: 163.1 kB / 0.5658 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.4989, allocations: 384 / 0.5658 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.4989, allocations: 8.359 kB / 0.5658 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.4991, allocations: 61.98 kB / 0.5659 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.4991, allocations: 11.94 kB / 0.5659 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.4991, allocations: 0 / 0.5659 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4991, allocations: 0 / 0.5659 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.03e-05/0.4992, allocations: 19.98 kB / 0.5659 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.4998, allocations: 279.8 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.5001, allocations: 58.55 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.5001, allocations: 24.97 kB / 0.5663 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.5001, allocations: 0 / 0.5663 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.5003, allocations: 67.39 kB / 0.5663 GB, free: 15.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.5003, allocations: 3.938 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008531/0.5012, allocations: 245.7 kB / 0.5666 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.5012, allocations: 55.41 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.5015, allocations: 238.9 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.5015, allocations: 33.7 kB / 0.5669 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.5016, allocations: 108.1 kB / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.5016, allocations: 35.73 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.5017, allocations: 25.72 kB / 0.5671 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.5019, allocations: 330.8 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.123e-05/0.502, allocations: 31.98 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/0.502, allocations: 45.7 kB / 0.5675 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.5022, allocations: 89.52 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5022, allocations: 0 / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002499/0.5025, allocations: 125.6 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5025, allocations: 4 kB / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.5025, allocations: 4.234 kB / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5025, allocations: 0 / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.395e-05/0.5026, allocations: 27.95 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.5026, allocations: 7.984 kB / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.5026, allocations: 7.938 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.5026, allocations: 4 kB / 0.5677 GB, free: 14.14 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 (13): * Single equations (assignments): 13 * 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.0001419/0.5028, allocations: 130.4 kB / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.5028, allocations: 15.91 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.5032, allocations: 150.9 kB / 0.568 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.5032, allocations: 4 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5032, allocations: 4 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.5032, allocations: 3.938 kB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006255/0.5038, allocations: 423.2 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5038, allocations: 0 / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.5038, allocations: 12 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.5038, allocations: 7.922 kB / 0.5684 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.5039, allocations: 4 kB / 0.5684 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.5039, allocations: 3.984 kB / 0.5684 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5039, allocations: 4.062 kB / 0.5684 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.5042, allocations: 233 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.5042, allocations: 19.84 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.5042, allocations: 4 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.255e-05/0.5043, allocations: 3.984 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.5044, allocations: 15.98 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.5044, allocations: 4 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.5046, allocations: 171.2 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5046, allocations: 0 / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.5048, allocations: 35.94 kB / 0.5689 GB, free: 12.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 (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.001991/0.5068, allocations: 0.5004 MB / 0.5694 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.5071, allocations: 75.92 kB / 0.5695 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5071, allocations: 0 / 0.5695 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.452e-05/0.5072, allocations: 35.92 kB / 0.5695 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.5076, allocations: 46.84 kB / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006671/0.5082, allocations: 292.4 kB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.5086, allocations: 0.716 MB / 0.5705 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.15e-05/0.5087, allocations: 16.64 kB / 0.5705 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.5087, allocations: 15.44 kB / 0.5706 GB, free: 11.25 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5087, allocations: 0 / 0.5706 GB, free: 11.25 MB / 414.1 MB Notification: Performance of Templates: time 0.006216/0.515, allocations: 2.062 MB / 0.5726 GB, free: 9.203 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.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.682208519428968]