Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.001749/0.001749, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.002067/0.002067, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.449/1.449, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2427/0.2427, allocations: 46.96 MB / 361.6 MB, free: 4.102 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 76.12 kB / 0.4974 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3673, allocations: 66.03 MB / 0.5619 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003553/0.3709, allocations: 1.894 MB / 0.5637 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.3728, allocations: 1.009 MB / 0.5647 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.844e-05/0.3729, allocations: 0 / 0.5647 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.3732, allocations: 51.62 kB / 0.5648 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.3736, allocations: 103.5 kB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.3738, allocations: 95.64 kB / 0.5649 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.3741, allocations: 147.6 kB / 0.5651 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3742, allocations: 20.5 kB / 0.5651 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3743, allocations: 63.7 kB / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3744, allocations: 55.64 kB / 0.5652 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.3744, allocations: 8 kB / 0.5652 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.451e-05/0.3745, allocations: 40 kB / 0.5653 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.279e-05/0.3746, allocations: 35.89 kB / 0.5653 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.549e-05/0.3746, allocations: 35.75 kB / 0.5653 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.3749, allocations: 159 kB / 0.5655 GB, free: 408 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3749, allocations: 0 / 0.5655 GB, free: 408 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3749, allocations: 0 / 0.5655 GB, free: 408 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.3749, allocations: 0 / 0.5655 GB, free: 408 kB / 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.0007274/0.3757, allocations: 423.1 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3757, allocations: 8.031 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.3757, allocations: 20.84 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.3761, allocations: 171 kB / 0.5661 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.3761, allocations: 8.375 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.3761, allocations: 12.12 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.3764, allocations: 133.9 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3764, allocations: 0 / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.3764, allocations: 4 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.3764, allocations: 4 kB / 0.5662 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.3766, allocations: 47.91 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005985/0.3772, allocations: 452.6 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.3775, allocations: 86.66 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.3776, allocations: 36.84 kB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.3776, allocations: 3.938 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.3778, allocations: 117 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.3778, allocations: 0 / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004373/0.3783, allocations: 145.5 kB / 0.5671 GB, free: 14.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.3783, allocations: 55.41 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.3786, allocations: 215 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.3786, allocations: 29.7 kB / 0.5674 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.637e-05/0.3787, allocations: 116.1 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.3787, allocations: 35.72 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.3788, allocations: 29.72 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3789, allocations: 322.8 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.379, allocations: 31.97 kB / 0.5679 GB, free: 13.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.3792, allocations: 64.03 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.3794, allocations: 104.1 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3794, allocations: 0 / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003003/0.3797, allocations: 141.8 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3797, allocations: 6.281 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3797, allocations: 8.062 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3797, allocations: 7.984 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3798, allocations: 16 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3798, allocations: 11.92 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/0.3799, allocations: 15.89 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.3799, allocations: 4 kB / 0.5682 GB, free: 13.34 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.0001219/0.38, allocations: 133.7 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.3801, allocations: 15.89 kB / 0.5684 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.3804, allocations: 139 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3804, allocations: 4 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3804, allocations: 3.938 kB / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3804, allocations: 0 / 0.5685 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.3806, allocations: 145.3 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3806, allocations: 4 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.532e-05/0.3806, allocations: 11.98 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3806, allocations: 4 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3807, allocations: 4 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3807, allocations: 0 / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3807, allocations: 0 / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.3811, allocations: 200.8 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/0.3811, allocations: 15.88 kB / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.3811, allocations: 8 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.3812, allocations: 7.984 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.3812, allocations: 3.984 kB / 0.5689 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.3813, allocations: 11.94 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.3814, allocations: 147.2 kB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3814, allocations: 0 / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.3816, allocations: 27.94 kB / 0.5691 GB, free: 12.4 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 (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.001652/0.3833, allocations: 440.4 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.3836, allocations: 83.83 kB / 0.5696 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3836, allocations: 0 / 0.5696 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.3837, allocations: 40.16 kB / 0.5696 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.384, allocations: 45.77 kB / 0.5697 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.3846, allocations: 317.3 kB / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.824e-05/0.3847, allocations: 105.8 kB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.3848, allocations: 15.44 kB / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3848, allocations: 0 / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of Templates: time 0.004409/0.3892, allocations: 2.248 MB / 0.5723 GB, free: 9.254 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.39667219700641]