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.001899/0.001899, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002233/0.002233, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2183/0.2183, allocations: 46.96 MB / 360.9 MB, free: 4.047 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.84 kB / 0.4962 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3067, allocations: 66.05 MB / 0.5607 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003285/0.31, allocations: 1.9 MB / 0.5625 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.3117, allocations: 1.003 MB / 0.5635 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.268e-05/0.3118, allocations: 3.938 kB / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.3121, allocations: 51.7 kB / 0.5635 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.3124, allocations: 103.5 kB / 0.5636 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.3126, allocations: 95.7 kB / 0.5637 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.3128, allocations: 143.5 kB / 0.5639 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3129, allocations: 23.52 kB / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.902e-05/0.313, allocations: 63.7 kB / 0.564 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.786e-05/0.3131, allocations: 43.72 kB / 0.564 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.3132, allocations: 8 kB / 0.564 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3133, allocations: 55.86 kB / 0.5641 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.3133, allocations: 35.89 kB / 0.5641 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.225e-05/0.3134, allocations: 35.75 kB / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.3137, allocations: 159.2 kB / 0.5643 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3137, allocations: 0 / 0.5643 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3137, allocations: 4 kB / 0.5643 GB, free: 488 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3137, allocations: 0 / 0.5643 GB, free: 488 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.00064/0.3143, allocations: 411 kB / 0.5647 GB, free: 40 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3144, allocations: 12.03 kB / 0.5647 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.3144, allocations: 34.75 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.3145, allocations: 20.84 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.3148, allocations: 167.1 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3148, allocations: 8.375 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.3148, allocations: 15.81 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.3151, allocations: 133.9 kB / 0.565 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3151, allocations: 0 / 0.565 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3151, allocations: 0 / 0.565 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3151, allocations: 4 kB / 0.565 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.3153, allocations: 59.89 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.3159, allocations: 472.1 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003287/0.3162, allocations: 86.59 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.902e-05/0.3163, allocations: 36.83 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.3164, allocations: 4 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.3166, allocations: 109 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3166, allocations: 8 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004136/0.317, allocations: 153.7 kB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.317, allocations: 51.41 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.3172, allocations: 203.2 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.3173, allocations: 37.62 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.736e-05/0.3174, allocations: 116.1 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.3174, allocations: 31.75 kB / 0.5664 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.3175, allocations: 29.7 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3176, allocations: 322.8 kB / 0.5667 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.324e-05/0.3177, allocations: 31.98 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3178, allocations: 72.02 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.3181, allocations: 96.2 kB / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3181, allocations: 0 / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002965/0.3184, allocations: 149.4 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3184, allocations: 8 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3184, allocations: 0 / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.3184, allocations: 7.938 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3185, allocations: 19.98 kB / 0.5671 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3185, allocations: 4 kB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.047e-05/0.3186, allocations: 19.88 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.3186, allocations: 4 kB / 0.5671 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.0001173/0.3187, allocations: 129.9 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.3187, allocations: 15.91 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003205/0.3191, allocations: 139 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3191, allocations: 8.062 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3191, allocations: 0 / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3191, allocations: 3.938 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.3193, allocations: 172.7 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3193, allocations: 0 / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.509e-05/0.3194, allocations: 15.98 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3194, allocations: 0 / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3194, allocations: 8 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3194, allocations: 3.938 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3194, allocations: 0 / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/0.3198, allocations: 192.9 kB / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.937e-05/0.3198, allocations: 19.88 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.3198, allocations: 0 / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.3199, allocations: 11.92 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.3199, allocations: 11.98 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.32, allocations: 0 / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.3201, allocations: 151.3 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3201, allocations: 3.938 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.3203, allocations: 24 kB / 0.568 GB, free: 12.37 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.002214/0.3225, allocations: 1.069 MB / 0.569 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.3228, allocations: 79.89 kB / 0.5691 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3228, allocations: 4.25 kB / 0.5691 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.3229, allocations: 39.91 kB / 0.5691 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.3233, allocations: 40.05 kB / 0.5692 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.3256, allocations: 1.765 MB / 0.5709 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.3257, allocations: 113.8 kB / 0.571 GB, free: 9.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.666e-05/0.3258, allocations: 13.42 kB / 0.571 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/0.3259, allocations: 47.41 kB / 0.571 GB, free: 9.23 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3259, allocations: 0 / 0.571 GB, free: 9.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/0.3588, allocations: 4.538 MB / 0.5755 GB, free: 4.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.33, allocations: 11.86 kB / 0.5755 GB, free: 4.746 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] 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: 14.260301701258868]