Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.001411/0.001411, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001512/0.001512, allocations: 205.2 kB / 23.72 MB, free: 4.391 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.2881/0.2881, allocations: 46.95 MB / 360.8 MB, free: 3.926 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00246/0.00246, allocations: 87.86 kB / 0.4967 GB, free: 6.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3913, allocations: 66.08 MB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003683/0.395, allocations: 1.791 MB / 0.563 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002993/0.398, allocations: 1.735 MB / 0.5647 GB, free: 412 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.3981, allocations: 0 / 0.5647 GB, free: 412 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004059/0.3985, allocations: 59.69 kB / 0.5647 GB, free: 352 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005359/0.3991, allocations: 139.3 kB / 0.5649 GB, free: 212 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.3993, allocations: 107.7 kB / 0.565 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.3997, allocations: 203.4 kB / 0.5652 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.483e-05/0.3997, allocations: 5.812 kB / 0.5652 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.3999, allocations: 87.56 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.4001, allocations: 79.61 kB / 0.5653 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.4001, allocations: 8 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.4003, allocations: 111.9 kB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.358e-05/0.4004, allocations: 39.83 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.424e-05/0.4005, allocations: 55.67 kB / 0.5655 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.4009, allocations: 229.4 kB / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4009, allocations: 0 / 0.5657 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4009, allocations: 4 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.4009, allocations: 0 / 0.5658 GB, free: 15.3 MB / 414.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.0007609/0.4016, allocations: 425 kB / 0.5662 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.4017, allocations: 8.031 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.329e-05/0.4017, allocations: 16.84 kB / 0.5662 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.4021, allocations: 190.2 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.4022, allocations: 8.312 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.4022, allocations: 4.375 kB / 0.5664 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.4025, allocations: 156.8 kB / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4025, allocations: 0 / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.4025, allocations: 4 kB / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4025, allocations: 0 / 0.5665 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.4026, allocations: 39.91 kB / 0.5666 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.4029, allocations: 166.1 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.4031, allocations: 109.2 kB / 0.5668 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.4032, allocations: 41.69 kB / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.4033, allocations: 0 / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/0.4035, allocations: 113 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.4035, allocations: 4 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004935/0.404, allocations: 181.3 kB / 0.5672 GB, free: 13.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.785e-05/0.4041, allocations: 132.5 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.4044, allocations: 246.3 kB / 0.5675 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.4044, allocations: 33.69 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.877e-05/0.4045, allocations: 116.1 kB / 0.5677 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.4045, allocations: 27.81 kB / 0.5677 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.4046, allocations: 25.7 kB / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4048, allocations: 334.8 kB / 0.568 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.527e-05/0.4049, allocations: 31.97 kB / 0.5681 GB, free: 12.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.405, allocations: 128.5 kB / 0.5682 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.4052, allocations: 99.38 kB / 0.5683 GB, free: 12.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4052, allocations: 0 / 0.5683 GB, free: 12.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002865/0.4055, allocations: 137.5 kB / 0.5684 GB, free: 12.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.4055, allocations: 7.938 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4055, allocations: 4 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.4055, allocations: 3.938 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.4056, allocations: 23.98 kB / 0.5684 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4057, allocations: 4 kB / 0.5684 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.841e-05/0.4057, allocations: 15.95 kB / 0.5685 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.4058, allocations: 7.984 kB / 0.5685 GB, free: 12.23 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.0001404/0.4059, allocations: 133.8 kB / 0.5686 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.4059, allocations: 19.84 kB / 0.5686 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.4063, allocations: 162.7 kB / 0.5688 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.4063, allocations: 7.938 kB / 0.5688 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4063, allocations: 0 / 0.5688 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4063, allocations: 3.984 kB / 0.5688 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.4065, allocations: 161.4 kB / 0.5689 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4065, allocations: 8 kB / 0.5689 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.061e-05/0.4066, allocations: 11.98 kB / 0.569 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.4066, allocations: 4 kB / 0.569 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.4066, allocations: 7.938 kB / 0.569 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4066, allocations: 0 / 0.569 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4066, allocations: 4 kB / 0.569 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.4069, allocations: 181.8 kB / 0.5691 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.407, allocations: 19.86 kB / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.407, allocations: 15.86 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.4071, allocations: 4 kB / 0.5692 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.4071, allocations: 15.98 kB / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.4072, allocations: 7.984 kB / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.4074, allocations: 180.5 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4074, allocations: 3.938 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.4077, allocations: 59.86 kB / 0.5694 GB, free: 11.17 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 (12): * Single equations (assignments): 8 * 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.002022/0.4097, allocations: 0.5108 MB / 0.5699 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.41, allocations: 83.84 kB / 0.57 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.41, allocations: 4 kB / 0.57 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.4101, allocations: 48.03 kB / 0.5701 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.4105, allocations: 55.77 kB / 0.5701 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.4112, allocations: 291.6 kB / 0.5704 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.4113, allocations: 107.4 kB / 0.5705 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.4114, allocations: 41.44 kB / 0.5705 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-05/0.4115, allocations: 31.42 kB / 0.5706 GB, free: 10.13 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4115, allocations: 0 / 0.5706 GB, free: 10.13 MB / 414.1 MB Notification: Performance of Templates: time 0.008186/0.4196, allocations: 3.509 MB / 0.574 GB, free: 6.664 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.457486657425761]