Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001374/0.001374, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001453/0.001453, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.462/1.462, 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.2346/0.2346, allocations: 46.97 MB / 361.6 MB, free: 4.039 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+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.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 67.84 kB / 0.4974 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3503, allocations: 66.03 MB / 0.5619 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003384/0.3536, allocations: 1.898 MB / 0.5637 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.3554, allocations: 1.01 MB / 0.5647 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.454e-05/0.3555, allocations: 0 / 0.5647 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.3558, allocations: 51.62 kB / 0.5648 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.3561, allocations: 99.55 kB / 0.5649 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.3563, allocations: 95.64 kB / 0.5649 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.3566, allocations: 147.6 kB / 0.5651 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.3567, allocations: 29.33 kB / 0.5651 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.966e-05/0.3568, allocations: 51.73 kB / 0.5652 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3569, allocations: 59.69 kB / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.3569, allocations: 12 kB / 0.5652 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.566e-05/0.357, allocations: 43.98 kB / 0.5653 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.3571, allocations: 27.86 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.3571, allocations: 43.72 kB / 0.5653 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.3574, allocations: 150 kB / 0.5655 GB, free: 440 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3574, allocations: 3.984 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3574, allocations: 0 / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.3574, allocations: 0 / 0.5655 GB, free: 436 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.0006833/0.3581, allocations: 415.1 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.3581, allocations: 8.031 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/0.3581, allocations: 24.84 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.3584, allocations: 171 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.3585, allocations: 4.375 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.3585, allocations: 12.12 kB / 0.5661 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.3587, allocations: 129.9 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3588, allocations: 0 / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.3588, allocations: 7.938 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3588, allocations: 4 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.3589, allocations: 59.89 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006169/0.3596, allocations: 444.7 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.3599, allocations: 82.66 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.36, allocations: 44.83 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.36, allocations: 3.938 kB / 0.5668 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.3603, allocations: 109 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3603, allocations: 4 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004417/0.3607, allocations: 145.5 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.3607, allocations: 55.41 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.361, allocations: 215 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.361, allocations: 25.7 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.287e-05/0.3611, allocations: 116.1 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.3611, allocations: 31.73 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.3612, allocations: 29.72 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3614, allocations: 326.8 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.326e-05/0.3614, allocations: 31.98 kB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3616, allocations: 64.27 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.3618, allocations: 104.1 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3618, allocations: 0 / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002977/0.3621, allocations: 141.8 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3621, allocations: 4.094 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3621, allocations: 3.938 kB / 0.5682 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3621, allocations: 4 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3622, allocations: 19.98 kB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.3622, allocations: 15.86 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.172e-05/0.3623, allocations: 11.95 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.3623, allocations: 4 kB / 0.5682 GB, free: 13.37 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.0001221/0.3624, allocations: 137.9 kB / 0.5684 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.3625, allocations: 15.89 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003145/0.3628, allocations: 135 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3628, allocations: 0 / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3628, allocations: 3.938 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3628, allocations: 0 / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.363, allocations: 153.2 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.363, allocations: 4 kB / 0.5687 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.293e-05/0.3631, allocations: 11.98 kB / 0.5687 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.3631, allocations: 8 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3631, allocations: 4 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3631, allocations: 0 / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3631, allocations: 3.938 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.3635, allocations: 200.8 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.3635, allocations: 15.94 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.3636, allocations: 4 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.3636, allocations: 7.984 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.3637, allocations: 7.984 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.3637, allocations: 12 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.3638, allocations: 147.2 kB / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3638, allocations: 0 / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.3641, allocations: 27.94 kB / 0.5691 GB, free: 12.42 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.00153/0.3656, allocations: 439.4 kB / 0.5695 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.3658, allocations: 83.83 kB / 0.5696 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3658, allocations: 256 / 0.5696 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.366, allocations: 44.16 kB / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.3663, allocations: 41.34 kB / 0.5697 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005842/0.3669, allocations: 279.3 kB / 0.5699 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/0.367, allocations: 109.8 kB / 0.57 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.607e-05/0.367, allocations: 17.42 kB / 0.5701 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.3671, allocations: 15.44 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3671, allocations: 0 / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of Templates: time 0.005548/0.3726, allocations: 2.156 MB / 0.5722 GB, free: 9.426 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 4.979556169986608]