Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001355/0.001355, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001486/0.001486, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2242/0.2242, allocations: 44.91 MB / 358.8 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 180] 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.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.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 67.84 kB / 0.4932 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3098, allocations: 65.46 MB / 0.5571 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003481/0.3133, allocations: 1.932 MB / 0.559 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.3153, allocations: 1.163 MB / 0.5601 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.3154, allocations: 3.938 kB / 0.5601 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.3159, allocations: 247.4 kB / 0.5604 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004804/0.3164, allocations: 243.1 kB / 0.5606 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.3167, allocations: 115.7 kB / 0.5607 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.317, allocations: 271.3 kB / 0.561 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3171, allocations: 23.8 kB / 0.561 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.3173, allocations: 143.4 kB / 0.5611 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.3176, allocations: 211.4 kB / 0.5613 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.3176, allocations: 11.94 kB / 0.5613 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.3178, allocations: 59.98 kB / 0.5614 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.658e-05/0.3179, allocations: 75.69 kB / 0.5615 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.318, allocations: 91.23 kB / 0.5616 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.3184, allocations: 266.7 kB / 0.5618 GB, free: 2.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3184, allocations: 0 / 0.5618 GB, free: 2.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3184, allocations: 0 / 0.5618 GB, free: 2.926 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3184, allocations: 0 / 0.5618 GB, free: 2.926 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008226/0.3192, allocations: 0.5196 MB / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3192, allocations: 8.031 kB / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.763e-05/0.3193, allocations: 46.67 kB / 0.5624 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.441e-05/0.3193, allocations: 28.75 kB / 0.5624 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.3197, allocations: 236.9 kB / 0.5626 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3198, allocations: 8.375 kB / 0.5626 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.3198, allocations: 7.938 kB / 0.5626 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.32, allocations: 119.2 kB / 0.5627 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3201, allocations: 0 / 0.5627 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3201, allocations: 4 kB / 0.5628 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3201, allocations: 4 kB / 0.5628 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.3202, allocations: 43.97 kB / 0.5628 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.3208, allocations: 459.8 kB / 0.5632 GB, free: 1.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.3212, allocations: 109.2 kB / 0.5633 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3213, allocations: 49.77 kB / 0.5634 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3213, allocations: 8.141 kB / 0.5634 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.3215, allocations: 117 kB / 0.5635 GB, free: 1.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.3215, allocations: 4 kB / 0.5635 GB, free: 1.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001355/0.3229, allocations: 0.5168 MB / 0.564 GB, free: 500 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.323, allocations: 77.11 kB / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005683/0.3235, allocations: 0.4899 MB / 0.5646 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.3236, allocations: 33.7 kB / 0.5646 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.3237, allocations: 164.5 kB / 0.5648 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.493e-05/0.3238, allocations: 75.42 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.3238, allocations: 45.7 kB / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.324, allocations: 346.8 kB / 0.5652 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3242, allocations: 59.97 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.3243, allocations: 91.34 kB / 0.5653 GB, free: 15.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.3246, allocations: 167.4 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.3246, allocations: 0 / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004244/0.325, allocations: 241.2 kB / 0.5657 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.325, allocations: 4 kB / 0.5657 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.325, allocations: 4 kB / 0.5657 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3251, allocations: 0 / 0.5657 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.3252, allocations: 47.91 kB / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3252, allocations: 4 kB / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.608e-05/0.3253, allocations: 12 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.3253, allocations: 12 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001856/0.3255, allocations: 174.3 kB / 0.566 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.3256, allocations: 43.7 kB / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005367/0.3261, allocations: 264.4 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3261, allocations: 4 kB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3261, allocations: 0 / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3261, allocations: 4 kB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3272, allocations: 0.7184 MB / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3272, allocations: 0 / 0.567 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.957e-05/0.3272, allocations: 35.92 kB / 0.567 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.3273, allocations: 8.125 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.3273, allocations: 4 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.3273, allocations: 4 kB / 0.567 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3273, allocations: 3.938 kB / 0.567 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.3278, allocations: 427.7 kB / 0.5674 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.3278, allocations: 31.81 kB / 0.5675 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.3279, allocations: 7.984 kB / 0.5675 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.328, allocations: 11.94 kB / 0.5675 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.3281, allocations: 23.91 kB / 0.5675 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.3281, allocations: 12 kB / 0.5675 GB, free: 12.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003845/0.3285, allocations: 375.1 kB / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3285, allocations: 0 / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003754/0.3289, allocations: 55.92 kB / 0.5679 GB, free: 12.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002768/0.3316, allocations: 1.369 MB / 0.5693 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003748/0.332, allocations: 158.1 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.332, allocations: 0 / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.3322, allocations: 76.22 kB / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.3327, allocations: 65.33 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.3364, allocations: 2.998 MB / 0.5725 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.3368, allocations: 0.7831 MB / 0.5733 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.337, allocations: 41.92 kB / 0.5733 GB, free: 6.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.3371, allocations: 107.4 kB / 0.5734 GB, free: 6.715 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3371, allocations: 0 / 0.5734 GB, free: 6.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.3707, allocations: 6.92 MB / 0.5802 GB, free: 15.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.88, allocations: 8 kB / 0.5802 GB, free: 15.88 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.880080511095002]