Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.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.001781/0.001781, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.002338/0.002338, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.561/1.561, 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.2333/0.2333, allocations: 46.89 MB / 361.1 MB, free: 4.625 MB / 286.1 MB " [Timeout remaining time 180] 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11") [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.002361/0.002361, allocations: 87.88 kB / 0.4968 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3707, allocations: 65.98 MB / 0.5613 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003827/0.3745, allocations: 1.953 MB / 0.5632 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.3765, allocations: 1.084 MB / 0.5642 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.3766, allocations: 7.938 kB / 0.5642 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.3769, allocations: 47.7 kB / 0.5643 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.3773, allocations: 99.48 kB / 0.5644 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.3775, allocations: 95.64 kB / 0.5645 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.3778, allocations: 151.5 kB / 0.5646 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3779, allocations: 20.38 kB / 0.5646 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.378, allocations: 59.66 kB / 0.5647 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.3781, allocations: 55.69 kB / 0.5647 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.3781, allocations: 8 kB / 0.5647 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.3782, allocations: 47.98 kB / 0.5648 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.3783, allocations: 27.92 kB / 0.5648 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.643e-05/0.3783, allocations: 59.53 kB / 0.5649 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.3786, allocations: 147.3 kB / 0.565 GB, free: 1.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3786, allocations: 7.984 kB / 0.565 GB, free: 1.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3786, allocations: 0 / 0.565 GB, free: 1.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3786, allocations: 0 / 0.565 GB, free: 1.129 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007149/0.3794, allocations: 484.1 kB / 0.5655 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.3794, allocations: 8.031 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.3794, allocations: 20.84 kB / 0.5655 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.3798, allocations: 236.8 kB / 0.5657 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.3798, allocations: 8.375 kB / 0.5657 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.3798, allocations: 4.375 kB / 0.5658 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.3801, allocations: 119.5 kB / 0.5659 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3801, allocations: 4 kB / 0.5659 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.3801, allocations: 4 kB / 0.5659 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3801, allocations: 0 / 0.5659 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.3803, allocations: 47.97 kB / 0.5659 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000662/0.381, allocations: 0.5009 MB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.3813, allocations: 98.53 kB / 0.5665 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.909e-05/0.3814, allocations: 32.84 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.3815, allocations: 4 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.3817, allocations: 83.38 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.3817, allocations: 0 / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004064/0.3821, allocations: 145.5 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.3821, allocations: 51.78 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.3823, allocations: 207.1 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.3824, allocations: 25.7 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.436e-05/0.3824, allocations: 120 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.3825, allocations: 39.67 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.3825, allocations: 25.72 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3827, allocations: 326.8 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.722e-05/0.3828, allocations: 31.91 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3829, allocations: 63.66 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.3831, allocations: 100.2 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3831, allocations: 0 / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002889/0.3834, allocations: 141.5 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3834, allocations: 4 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3834, allocations: 4 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3834, allocations: 0 / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3835, allocations: 27.92 kB / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3835, allocations: 0 / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/0.3836, allocations: 19.89 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3836, allocations: 4 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001258/0.3838, allocations: 128 kB / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.3838, allocations: 23.95 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.3841, allocations: 123 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3841, allocations: 0 / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3841, allocations: 4 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3841, allocations: 4.125 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.3844, allocations: 217.5 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3844, allocations: 3.938 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.598e-05/0.3844, allocations: 11.94 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3844, allocations: 4 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3844, allocations: 4 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3844, allocations: 3.938 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3844, allocations: 0 / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.3849, allocations: 188.8 kB / 0.5686 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.385, allocations: 89.05 kB / 0.5687 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.385, allocations: 4 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.3851, allocations: 12.05 kB / 0.5687 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.3852, allocations: 7.938 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.3852, allocations: 11.98 kB / 0.5687 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002492/0.3854, allocations: 144.4 kB / 0.5688 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3854, allocations: 0 / 0.5688 GB, free: 12.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.3857, allocations: 23.94 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001533/0.3872, allocations: 401.4 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002818/0.3875, allocations: 83.83 kB / 0.5693 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3875, allocations: 0 / 0.5693 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.3876, allocations: 36.05 kB / 0.5694 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.3879, allocations: 39.09 kB / 0.5694 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.3885, allocations: 287.3 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.3888, allocations: 0.7164 MB / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.825e-05/0.3889, allocations: 29.34 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.3889, allocations: 15.44 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3889, allocations: 0 / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of Templates: time 0.005782/0.3947, allocations: 1.942 MB / 0.5723 GB, free: 9.395 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.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.226930123753846]