Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001346/0.001346, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001472/0.001472, allocations: 209.5 kB / 23.73 MB, free: 4.523 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2254/0.2254, allocations: 46.96 MB / 360.9 MB, free: 4.145 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.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 0.4962 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.334, allocations: 66.03 MB / 0.5606 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003491/0.3375, allocations: 1.679 MB / 0.5623 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.3393, allocations: 0.951 MB / 0.5632 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.3394, allocations: 0 / 0.5632 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.3397, allocations: 63.73 kB / 0.5633 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003528/0.3401, allocations: 103.6 kB / 0.5634 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.3402, allocations: 83.67 kB / 0.5635 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.3404, allocations: 111.6 kB / 0.5636 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.024e-05/0.3405, allocations: 4.234 kB / 0.5636 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.3406, allocations: 51.77 kB / 0.5636 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3407, allocations: 47.78 kB / 0.5637 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.3407, allocations: 4 kB / 0.5637 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.551e-05/0.3408, allocations: 31.97 kB / 0.5637 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.3409, allocations: 19.92 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.444e-05/0.3409, allocations: 23.86 kB / 0.5637 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3411, allocations: 109.3 kB / 0.5638 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3411, allocations: 8 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3411, allocations: 0 / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3411, allocations: 3.938 kB / 0.5638 GB, free: 0.9102 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005906/0.3417, allocations: 337.6 kB / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3418, allocations: 8.031 kB / 0.5642 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.3418, allocations: 34.75 kB / 0.5642 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.3419, allocations: 12.84 kB / 0.5642 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.3421, allocations: 151 kB / 0.5644 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.3422, allocations: 384 / 0.5644 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.3422, allocations: 3.938 kB / 0.5644 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.3423, allocations: 57.61 kB / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3423, allocations: 0 / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.3423, allocations: 0 / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3423, allocations: 0 / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.276e-05/0.3424, allocations: 19.98 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.3426, allocations: 152.7 kB / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.3428, allocations: 54.59 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.3429, allocations: 20.8 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.3429, allocations: 8 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.343, allocations: 67.33 kB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.343, allocations: 0 / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003089/0.3434, allocations: 101.6 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3434, allocations: 59.34 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.3436, allocations: 194.3 kB / 0.5651 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.3436, allocations: 29.7 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.3437, allocations: 100.1 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.3437, allocations: 19.84 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.3438, allocations: 17.72 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3439, allocations: 334.7 kB / 0.5656 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.475e-05/0.344, allocations: 15.98 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.17e-05/0.344, allocations: 33.7 kB / 0.5656 GB, free: 14.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.3441, allocations: 45.7 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3441, allocations: 3.938 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001732/0.3443, allocations: 81.78 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3443, allocations: 8 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.3443, allocations: 4.062 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3443, allocations: 4.031 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.3444, allocations: 11.98 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3444, allocations: 4 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.3445, allocations: 0 / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3445, allocations: 4 kB / 0.5658 GB, free: 14.75 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001258/0.3446, allocations: 133.7 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.3446, allocations: 7.953 kB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.3448, allocations: 90.77 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3449, allocations: 0 / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3449, allocations: 7.984 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3449, allocations: 4 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.345, allocations: 156.6 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.345, allocations: 0 / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.345, allocations: 4 kB / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3451, allocations: 0 / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.3451, allocations: 7.984 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3451, allocations: 0 / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3451, allocations: 0 / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.3453, allocations: 125 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.3453, allocations: 7.906 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.3454, allocations: 4 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.765e-05/0.3454, allocations: 4 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.3454, allocations: 7.984 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.3454, allocations: 4 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.3456, allocations: 148.2 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3456, allocations: 0 / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.3458, allocations: 19.94 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001988/0.3478, allocations: 0.9943 MB / 0.5674 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.348, allocations: 47.97 kB / 0.5675 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.348, allocations: 4 kB / 0.5675 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.631e-05/0.348, allocations: 23.92 kB / 0.5675 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.3483, allocations: 33.77 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.3501, allocations: 1.533 MB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.658e-05/0.3501, allocations: 89.25 kB / 0.5691 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.738e-05/0.3502, allocations: 16.55 kB / 0.5691 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.3503, allocations: 35.42 kB / 0.5692 GB, free: 11.22 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3503, allocations: 0 / 0.5692 GB, free: 11.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.379, allocations: 3.846 MB / 0.5729 GB, free: 7.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.12, allocations: 14.48 kB / 0.5729 GB, free: 7.418 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.093465533020208]