Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001944/0.001944, allocations: 88.33 kB / 20.96 MB, free: 3.449 MB / 18.57 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.002387/0.002387, allocations: 157.7 kB / 24.27 MB, free: 148 kB / 18.57 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.605/1.605, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4035/0.4035, allocations: 32.79 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.381e-05/3.548e-05, allocations: 9.344 kB / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00388/0.003916, allocations: 1.9 MB / 377.2 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002175/0.006091, allocations: 1.009 MB / 378.3 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.00622, allocations: 7.938 kB / 378.3 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.006589, allocations: 43.59 kB / 378.3 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.007018, allocations: 99.47 kB / 378.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.007321, allocations: 95.58 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.007606, allocations: 155.5 kB / 378.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.007731, allocations: 17.8 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.007909, allocations: 79.73 kB / 378.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.008025, allocations: 39.83 kB / 378.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.008052, allocations: 8 kB / 378.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.008176, allocations: 43.92 kB / 378.8 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.223e-05/0.008249, allocations: 27.86 kB / 378.9 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.008321, allocations: 31.91 kB / 378.9 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.008655, allocations: 159.4 kB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.008661, allocations: 4 kB / 379.1 MB, free: 1.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.008662, allocations: 4 kB / 379.1 MB, free: 1.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.008668, allocations: 0 / 379.1 MB, free: 1.168 MB / 346.7 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.0007717/0.009439, allocations: 414.9 kB / 379.5 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.009478, allocations: 8.031 kB / 379.5 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.702e-05/0.009565, allocations: 24.8 kB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.009941, allocations: 178.2 kB / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.009964, allocations: 8.375 kB / 379.7 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.009995, allocations: 4.375 kB / 379.7 MB, free: 492 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.01029, allocations: 138.5 kB / 379.8 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.0103, allocations: 3.938 kB / 379.8 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.01031, allocations: 0 / 379.8 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.01032, allocations: 4 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.01049, allocations: 51.91 kB / 379.9 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007322/0.01123, allocations: 460.6 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.0116, allocations: 90.64 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.01171, allocations: 32.84 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.01174, allocations: 3.984 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.01198, allocations: 113 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.01198, allocations: 0 / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004758/0.01246, allocations: 153.5 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.01251, allocations: 51.41 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.01277, allocations: 207.6 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.0128, allocations: 33.7 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.0129, allocations: 116 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.01294, allocations: 23.8 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.303e-05/0.013, allocations: 33.66 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.01318, allocations: 330.8 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.01329, allocations: 39.91 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.01341, allocations: 60.22 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.01367, allocations: 104.2 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.01367, allocations: 0 / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003241/0.01399, allocations: 141.4 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.01402, allocations: 8 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.01402, allocations: 0 / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.01404, allocations: 0 / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.01415, allocations: 32.05 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.01416, allocations: 4 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.694e-05/0.01424, allocations: 15.92 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.01426, allocations: 4 kB / 381.9 MB, free: 14.09 MB / 362.7 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.000134/0.01439, allocations: 125.8 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.01443, allocations: 15.91 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.01489, allocations: 139 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01489, allocations: 0 / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.01489, allocations: 0 / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.0149, allocations: 8 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.01509, allocations: 157.2 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01509, allocations: 0 / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.01518, allocations: 15.92 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.01519, allocations: 4 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.0152, allocations: 8 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01521, allocations: 0 / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01521, allocations: 0 / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.01568, allocations: 201.4 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.0157, allocations: 16 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.01573, allocations: 0 / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.0158, allocations: 7.984 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.01585, allocations: 11.98 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.01586, allocations: 4 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001586/0.01602, allocations: 147.2 kB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01602, allocations: 0 / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000248/0.01627, allocations: 27.94 kB / 382.8 MB, free: 13.16 MB / 362.7 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 (10): * Single equations (assignments): 8 * 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.002021/0.01829, allocations: 443.8 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.0186, allocations: 79.83 kB / 383.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.0186, allocations: 0 / 383.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.01872, allocations: 31.98 kB / 383.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.01905, allocations: 48.2 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.01967, allocations: 276.1 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.01979, allocations: 102.4 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.986e-05/0.01987, allocations: 21.47 kB / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.01992, allocations: 20.5 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01992, allocations: 0 / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of Templates: time 0.006051/0.02597, allocations: 2.067 MB / 385.8 MB, free: 10.25 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.006003116024658]