Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.00195/0.00195, allocations: 73.56 kB / 21.24 MB, free: 0.5547 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.002174/0.002174, allocations: 158.6 kB / 24.5 MB, free: 3.719 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.6/1.6, allocations: 177.2 MB / 204.9 MB, free: 8.988 MB / 190.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.2501/0.2501, allocations: 34.28 MB / 295.5 MB, free: 14.56 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002425, allocations: 71.88 kB / 443.2 MB, free: 6.574 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3469, allocations: 66 MB / 0.4973 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00287/0.3497, allocations: 1.738 MB / 0.499 GB, free: 28.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3512, allocations: 0.9707 MB / 0.4999 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.38e-05/0.3512, allocations: 3.188 kB / 0.4999 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.3516, allocations: 94.98 kB / 0.5 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.3519, allocations: 117.9 kB / 0.5001 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.352, allocations: 83.64 kB / 0.5002 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.3522, allocations: 120.3 kB / 0.5003 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3523, allocations: 21.67 kB / 0.5004 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.701e-05/0.3524, allocations: 56.12 kB / 0.5004 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3525, allocations: 69.2 kB / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.3525, allocations: 3.25 kB / 0.5005 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.686e-05/0.3526, allocations: 59.45 kB / 0.5005 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.3527, allocations: 32.77 kB / 0.5006 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.3527, allocations: 32.64 kB / 0.5006 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.3529, allocations: 142.5 kB / 0.5007 GB, free: 27.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3529, allocations: 0 / 0.5007 GB, free: 27.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3529, allocations: 0 / 0.5007 GB, free: 27.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3529, allocations: 0 / 0.5007 GB, free: 27.73 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004855/0.3534, allocations: 384.4 kB / 0.5011 GB, free: 27.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.3535, allocations: 9.625 kB / 0.5011 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.3535, allocations: 18.78 kB / 0.5011 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.3537, allocations: 145.5 kB / 0.5013 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.3538, allocations: 15.47 kB / 0.5013 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.3538, allocations: 7.219 kB / 0.5013 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.3539, allocations: 63.39 kB / 0.5014 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3539, allocations: 0 / 0.5014 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.354, allocations: 0 / 0.5014 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.354, allocations: 0 / 0.5014 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.759e-05/0.354, allocations: 33.94 kB / 0.5014 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.3543, allocations: 244.7 kB / 0.5016 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.3546, allocations: 69.31 kB / 0.5017 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.508e-05/0.3546, allocations: 18.66 kB / 0.5017 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.3547, allocations: 3.156 kB / 0.5017 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.3548, allocations: 77.59 kB / 0.5018 GB, free: 26.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3548, allocations: 0 / 0.5018 GB, free: 26.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007082/0.3555, allocations: 250.8 kB / 0.502 GB, free: 26.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.3555, allocations: 58.59 kB / 0.5021 GB, free: 26.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3557, allocations: 242.6 kB / 0.5023 GB, free: 26.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.3557, allocations: 29.7 kB / 0.5023 GB, free: 26.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.3558, allocations: 117.9 kB / 0.5025 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.3558, allocations: 33.44 kB / 0.5025 GB, free: 26.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.3558, allocations: 34.92 kB / 0.5025 GB, free: 26.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.3559, allocations: 321.6 kB / 0.5028 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-05/0.3559, allocations: 31.23 kB / 0.5029 GB, free: 25.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.809e-05/0.356, allocations: 47.66 kB / 0.5029 GB, free: 25.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.3561, allocations: 83.16 kB / 0.503 GB, free: 25.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3561, allocations: 0 / 0.503 GB, free: 25.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001913/0.3563, allocations: 134.1 kB / 0.5031 GB, free: 25.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3563, allocations: 4.156 kB / 0.5031 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3563, allocations: 1.656 kB / 0.5031 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3564, allocations: 5.344 kB / 0.5031 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.3564, allocations: 24.56 kB / 0.5031 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3565, allocations: 0 / 0.5031 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.3565, allocations: 10.41 kB / 0.5031 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.3565, allocations: 7.312 kB / 0.5032 GB, free: 25.79 MB / 446.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 (13): * Single equations (assignments): 13 * 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 7.443e-05/0.3566, allocations: 133 kB / 0.5033 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.3566, allocations: 14.22 kB / 0.5033 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.3569, allocations: 153.8 kB / 0.5034 GB, free: 25.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3569, allocations: 3.125 kB / 0.5034 GB, free: 25.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3569, allocations: 8 kB / 0.5035 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3569, allocations: 7.312 kB / 0.5035 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.3573, allocations: 403 kB / 0.5038 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3573, allocations: 0 / 0.5038 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/0.3573, allocations: 11.94 kB / 0.5039 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3573, allocations: 6.625 kB / 0.5039 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3573, allocations: 3 kB / 0.5039 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.3573, allocations: 3.375 kB / 0.5039 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3573, allocations: 0 / 0.5039 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.3576, allocations: 250.2 kB / 0.5041 GB, free: 25.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.3576, allocations: 13.47 kB / 0.5041 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.3576, allocations: 3.938 kB / 0.5041 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.3577, allocations: 10.67 kB / 0.5041 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.3577, allocations: 10.66 kB / 0.5041 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3577, allocations: 6.469 kB / 0.5042 GB, free: 25.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.3579, allocations: 176 kB / 0.5043 GB, free: 24.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3579, allocations: 3.031 kB / 0.5043 GB, free: 24.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.3581, allocations: 32.88 kB / 0.5044 GB, free: 24.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001963/0.3601, allocations: 0.549 MB / 0.5049 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.3603, allocations: 86.28 kB / 0.505 GB, free: 24.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3603, allocations: 0 / 0.505 GB, free: 24.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.913e-05/0.3604, allocations: 37.58 kB / 0.505 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.3607, allocations: 41.48 kB / 0.505 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.3612, allocations: 289 kB / 0.5053 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.425e-05/0.3612, allocations: 101.7 kB / 0.5054 GB, free: 24.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.2e-05/0.3613, allocations: 23.2 kB / 0.5054 GB, free: 24.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.581e-05/0.3613, allocations: 17.62 kB / 0.5055 GB, free: 24.35 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3613, allocations: 0 / 0.5055 GB, free: 24.35 MB / 446.1 MB Notification: Performance of Templates: time 0.004616/0.3659, allocations: 2.08 MB / 0.5075 GB, free: 24.08 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.180378435994498]