Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 258.3 MB, free: 8.219 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2407/0.2407, allocations: 46.93 MB / 361.6 MB, free: 4.309 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 71.89 kB / 0.4975 GB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.376, allocations: 66.02 MB / 0.5619 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003388/0.3794, allocations: 1.701 MB / 0.5636 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.3812, allocations: 1.022 MB / 0.5646 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.306e-05/0.3813, allocations: 3.938 kB / 0.5646 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.3816, allocations: 55.75 kB / 0.5646 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003225/0.3819, allocations: 99.59 kB / 0.5647 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.3821, allocations: 75.67 kB / 0.5648 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.3823, allocations: 99.69 kB / 0.5649 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.3823, allocations: 4.234 kB / 0.5649 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3825, allocations: 47.77 kB / 0.565 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.3826, allocations: 39.73 kB / 0.565 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.3826, allocations: 4 kB / 0.565 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.896e-05/0.3827, allocations: 39.92 kB / 0.565 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.3827, allocations: 19.92 kB / 0.5651 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.41e-05/0.3828, allocations: 43.67 kB / 0.5651 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.383, allocations: 126.1 kB / 0.5652 GB, free: 1.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.383, allocations: 0 / 0.5652 GB, free: 1.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.383, allocations: 0 / 0.5652 GB, free: 1.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.383, allocations: 0 / 0.5652 GB, free: 1.164 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.0006071/0.3836, allocations: 369.3 kB / 0.5656 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3837, allocations: 15.97 kB / 0.5656 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.3837, allocations: 12.89 kB / 0.5656 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.384, allocations: 159.2 kB / 0.5658 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.3841, allocations: 12.38 kB / 0.5658 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.3841, allocations: 4.125 kB / 0.5658 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3842, allocations: 49.67 kB / 0.5658 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3842, allocations: 0 / 0.5658 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3842, allocations: 0 / 0.5658 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3842, allocations: 0 / 0.5658 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.944e-05/0.3843, allocations: 23.92 kB / 0.5658 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002266/0.3845, allocations: 164.8 kB / 0.566 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.3847, allocations: 42.62 kB / 0.566 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.786e-05/0.3848, allocations: 24.78 kB / 0.5661 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.3848, allocations: 0 / 0.5661 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.385, allocations: 71.39 kB / 0.5661 GB, free: 108 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.385, allocations: 0 / 0.5661 GB, free: 108 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003008/0.3853, allocations: 101.5 kB / 0.5662 GB, free: 0 / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.3853, allocations: 51.41 kB / 0.5663 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.3856, allocations: 270.8 kB / 0.5665 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3856, allocations: 25.7 kB / 0.5666 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.483e-05/0.3857, allocations: 112.1 kB / 0.5667 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.3858, allocations: 23.89 kB / 0.5667 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.3858, allocations: 17.72 kB / 0.5667 GB, free: 15.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.386, allocations: 322.8 kB / 0.567 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.063e-05/0.386, allocations: 15.98 kB / 0.567 GB, free: 15.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.707e-05/0.3861, allocations: 37.69 kB / 0.5671 GB, free: 15.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.3862, allocations: 41.66 kB / 0.5671 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3862, allocations: 4 kB / 0.5671 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001623/0.3863, allocations: 93.45 kB / 0.5672 GB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3864, allocations: 4 kB / 0.5672 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.3864, allocations: 0 / 0.5672 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3864, allocations: 4 kB / 0.5672 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.3865, allocations: 8 kB / 0.5672 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3865, allocations: 0 / 0.5672 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.3865, allocations: 28.05 kB / 0.5672 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.3865, allocations: 0 / 0.5672 GB, free: 14.89 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.0001291/0.3867, allocations: 141.8 kB / 0.5674 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.3867, allocations: 15.91 kB / 0.5674 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.3869, allocations: 94.7 kB / 0.5675 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3869, allocations: 0 / 0.5675 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3869, allocations: 4 kB / 0.5675 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3869, allocations: 0 / 0.5675 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.3871, allocations: 172.6 kB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3871, allocations: 0 / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.3871, allocations: 7.984 kB / 0.5677 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3871, allocations: 4 kB / 0.5677 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3871, allocations: 4 kB / 0.5677 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3871, allocations: 0 / 0.5677 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3871, allocations: 0 / 0.5677 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.3873, allocations: 116.9 kB / 0.5678 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.3873, allocations: 11.91 kB / 0.5678 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.3873, allocations: 4 kB / 0.5678 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.676e-05/0.3874, allocations: 4 kB / 0.5678 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.3874, allocations: 7.984 kB / 0.5678 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.3874, allocations: 4 kB / 0.5678 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001987/0.3876, allocations: 204.6 kB / 0.568 GB, free: 14.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3876, allocations: 0 / 0.568 GB, free: 14.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002055/0.3878, allocations: 12 kB / 0.568 GB, free: 14.02 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.001522/0.3894, allocations: 414.9 kB / 0.5684 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.3895, allocations: 39.92 kB / 0.5684 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3895, allocations: 4 kB / 0.5684 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.117e-05/0.3896, allocations: 15.98 kB / 0.5685 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.3899, allocations: 36.05 kB / 0.5685 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.3904, allocations: 296.2 kB / 0.5688 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.3908, allocations: 0.7119 MB / 0.5695 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.3909, allocations: 23.48 kB / 0.5695 GB, free: 12.59 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3909, allocations: 0 / 0.5695 GB, free: 12.59 MB / 414.1 MB Notification: Performance of Templates: time 0.004128/0.395, allocations: 1.886 MB / 0.5713 GB, free: 10.71 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test61.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: 8.030992690008134]