Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 104.6 kB / 21.22 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 186.5 kB / 24.52 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.665/1.665, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 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.2624/0.2624, allocations: 44.91 MB / 353.5 MB, free: 11.8 MB / 286.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 67.88 kB / 497.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4253, allocations: 64.28 MB / 0.5489 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003941/0.4292, allocations: 1.739 MB / 0.5506 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.4312, allocations: 0.8996 MB / 0.5515 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.454e-05/0.4313, allocations: 5.031 kB / 0.5515 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.4317, allocations: 36.3 kB / 0.5515 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.4319, allocations: 59.03 kB / 0.5515 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.4322, allocations: 114.7 kB / 0.5517 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.4324, allocations: 99.16 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.324e-05/0.4325, allocations: 7.297 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.4326, allocations: 48.72 kB / 0.5518 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.968e-05/0.4327, allocations: 34.41 kB / 0.5518 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.4327, allocations: 3.688 kB / 0.5518 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.4328, allocations: 42.55 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.4329, allocations: 27.59 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.4329, allocations: 31.44 kB / 0.5519 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.4332, allocations: 119.4 kB / 0.5521 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4332, allocations: 1.094 kB / 0.5521 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4332, allocations: 0 / 0.5521 GB, free: 10.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.4332, allocations: 0 / 0.5521 GB, free: 10.67 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005662/0.4337, allocations: 350.3 kB / 0.5524 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.4338, allocations: 11.23 kB / 0.5524 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.4338, allocations: 8.672 kB / 0.5524 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.4341, allocations: 154.8 kB / 0.5526 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.4341, allocations: 9.578 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.4341, allocations: 6.5 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.4344, allocations: 54.55 kB / 0.5526 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4344, allocations: 0 / 0.5526 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.4344, allocations: 4 kB / 0.5526 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4344, allocations: 1.125 kB / 0.5526 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.4345, allocations: 22.17 kB / 0.5526 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.4349, allocations: 254.7 kB / 0.5529 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.4351, allocations: 52.62 kB / 0.5529 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/0.4351, allocations: 24.09 kB / 0.553 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.4352, allocations: 5.094 kB / 0.553 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.4353, allocations: 68.8 kB / 0.553 GB, free: 9.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.4353, allocations: 1 kB / 0.553 GB, free: 9.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006085/0.4359, allocations: 177.5 kB / 0.5532 GB, free: 9.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.436, allocations: 52.62 kB / 0.5533 GB, free: 9.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.4362, allocations: 197.2 kB / 0.5534 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.4362, allocations: 30.8 kB / 0.5535 GB, free: 9.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.4363, allocations: 100.9 kB / 0.5536 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.4363, allocations: 23.3 kB / 0.5536 GB, free: 9.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.4364, allocations: 28.86 kB / 0.5536 GB, free: 9.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4366, allocations: 326.2 kB / 0.5539 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.21e-05/0.4366, allocations: 22.64 kB / 0.5539 GB, free: 8.867 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.305e-05/0.4367, allocations: 43.67 kB / 0.554 GB, free: 8.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.4368, allocations: 59.06 kB / 0.554 GB, free: 8.793 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4368, allocations: 0 / 0.554 GB, free: 8.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002002/0.437, allocations: 112.2 kB / 0.5542 GB, free: 8.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.437, allocations: 4.625 kB / 0.5542 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.437, allocations: 1.156 kB / 0.5542 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.437, allocations: 5.141 kB / 0.5542 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.494e-05/0.4371, allocations: 13.16 kB / 0.5542 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.4371, allocations: 9.266 kB / 0.5542 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.197e-05/0.4372, allocations: 10.34 kB / 0.5542 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.4372, allocations: 2.25 kB / 0.5542 GB, free: 8.699 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0001139/0.4373, allocations: 128.1 kB / 0.5543 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.4373, allocations: 17.52 kB / 0.5543 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.4376, allocations: 112.3 kB / 0.5544 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4376, allocations: 1.125 kB / 0.5544 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4376, allocations: 3.984 kB / 0.5544 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.4376, allocations: 8.969 kB / 0.5545 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004724/0.4381, allocations: 361.2 kB / 0.5548 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4381, allocations: 1.094 kB / 0.5548 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.4381, allocations: 8.562 kB / 0.5548 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4381, allocations: 0 / 0.5548 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.4381, allocations: 5.094 kB / 0.5548 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4381, allocations: 1.094 kB / 0.5548 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4381, allocations: 5.125 kB / 0.5548 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.4385, allocations: 216.2 kB / 0.555 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.057e-05/0.4385, allocations: 7.516 kB / 0.555 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.4386, allocations: 6.031 kB / 0.555 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.4386, allocations: 2.312 kB / 0.555 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.4387, allocations: 10.2 kB / 0.5551 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.4387, allocations: 3.969 kB / 0.5551 GB, free: 7.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.4388, allocations: 155.6 kB / 0.5552 GB, free: 7.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4388, allocations: 0 / 0.5552 GB, free: 7.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.4391, allocations: 24.97 kB / 0.5552 GB, free: 7.801 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001771/0.4409, allocations: 468.3 kB / 0.5557 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.4411, allocations: 52.36 kB / 0.5557 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4411, allocations: 0 / 0.5557 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.859e-05/0.4412, allocations: 31.27 kB / 0.5558 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.4416, allocations: 31.41 kB / 0.5558 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.4423, allocations: 232 kB / 0.556 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.4428, allocations: 0.7136 MB / 0.5567 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.261e-05/0.4428, allocations: 18.72 kB / 0.5567 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.4429, allocations: 14.25 kB / 0.5567 GB, free: 6.605 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4429, allocations: 1.156 kB / 0.5567 GB, free: 6.605 MB / 398.1 MB Notification: Performance of Templates: time 0.005811/0.4487, allocations: 1.76 MB / 0.5585 GB, free: 5.426 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.525791695341468]