Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.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.001821/0.001821, 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.002456/0.002456, 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.522/1.522, allocations: 230.3 MB / 258 MB, free: 8.184 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.2327/0.2327, allocations: 46.94 MB / 361.4 MB, free: 4.395 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85") [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.002387/0.002387, allocations: 79.86 kB / 0.4972 GB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4465, allocations: 66.05 MB / 0.5617 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.0035/0.45, allocations: 1.694 MB / 0.5634 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.4519, allocations: 1.029 MB / 0.5644 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.271e-05/0.452, allocations: 0 / 0.5644 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.4523, allocations: 63.67 kB / 0.5644 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.4526, allocations: 95.59 kB / 0.5645 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.4528, allocations: 75.67 kB / 0.5646 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.453, allocations: 103.7 kB / 0.5647 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.453, allocations: 8.219 kB / 0.5647 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.4531, allocations: 51.73 kB / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.4532, allocations: 51.75 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.4533, allocations: 4 kB / 0.5648 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.771e-05/0.4533, allocations: 24 kB / 0.5648 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.4534, allocations: 19.91 kB / 0.5649 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.4535, allocations: 31.8 kB / 0.5649 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.4537, allocations: 110 kB / 0.565 GB, free: 1.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4537, allocations: 0 / 0.565 GB, free: 1.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4537, allocations: 0 / 0.565 GB, free: 1.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.4537, allocations: 4 kB / 0.565 GB, free: 1.137 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006274/0.4543, allocations: 333.7 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4544, allocations: 12.03 kB / 0.5653 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.4544, allocations: 8.891 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.4547, allocations: 151.1 kB / 0.5655 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.4547, allocations: 8.375 kB / 0.5655 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.4547, allocations: 384 / 0.5655 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.4549, allocations: 57.92 kB / 0.5655 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.4549, allocations: 4 kB / 0.5655 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.4549, allocations: 0 / 0.5655 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4549, allocations: 0 / 0.5655 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.177e-05/0.455, allocations: 15.98 kB / 0.5656 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.4552, allocations: 148.8 kB / 0.5657 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.4554, allocations: 46.62 kB / 0.5657 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.016e-05/0.4554, allocations: 24.84 kB / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.4555, allocations: 0 / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.4556, allocations: 75.27 kB / 0.5658 GB, free: 148 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.4556, allocations: 0 / 0.5658 GB, free: 148 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000299/0.4559, allocations: 89.62 kB / 0.5659 GB, free: 52 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.456, allocations: 51.41 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.4562, allocations: 187.2 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.4562, allocations: 33.7 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.4563, allocations: 104.1 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.4563, allocations: 7.953 kB / 0.5663 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.4564, allocations: 17.72 kB / 0.5663 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4565, allocations: 326.8 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.482e-05/0.4566, allocations: 19.92 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.284e-05/0.4566, allocations: 21.72 kB / 0.5667 GB, free: 15.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.4567, allocations: 53.64 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4567, allocations: 0 / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001788/0.4569, allocations: 85.47 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4569, allocations: 10.17 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.457, allocations: 4 kB / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.457, allocations: 0 / 0.5668 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.808e-05/0.457, allocations: 8 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.457, allocations: 160 / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/0.4571, allocations: 8.344 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.4571, allocations: 3.984 kB / 0.5668 GB, free: 15.06 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 (7): * Single equations (assignments): 7 * 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.0001215/0.4572, allocations: 133.7 kB / 0.567 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.4572, allocations: 15.89 kB / 0.567 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.4575, allocations: 90.72 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4575, allocations: 7.984 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4575, allocations: 0 / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4575, allocations: 3.984 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.4576, allocations: 156.7 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4576, allocations: 0 / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.737e-05/0.4577, allocations: 7.938 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4577, allocations: 0 / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.4577, allocations: 0 / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4577, allocations: 0 / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.4577, allocations: 0 / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.4579, allocations: 109 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.4579, allocations: 19.83 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.4579, allocations: 3.984 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.477e-05/0.458, allocations: 4 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.458, allocations: 0 / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.458, allocations: 7.984 kB / 0.5674 GB, free: 14.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.4581, allocations: 137.6 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4581, allocations: 0 / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.4584, allocations: 16 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001538/0.4599, allocations: 403.4 kB / 0.5679 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.4601, allocations: 47.91 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4601, allocations: 3.938 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.142e-05/0.4601, allocations: 16 kB / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.4605, allocations: 23.97 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.461, allocations: 201.9 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.4613, allocations: 0.6963 MB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.796e-05/0.4614, allocations: 16.42 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.4614, allocations: 19.44 kB / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4614, allocations: 0 / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of Templates: time 0.005032/0.4664, allocations: 1.529 MB / 0.5704 GB, free: 11.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.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.460470885969698]