Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.00186/0.00186, 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.002746/0.002746, allocations: 219.9 kB / 23.73 MB, free: 4.164 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.221/0.221, allocations: 44.94 MB / 358.8 MB, free: 6.07 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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",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.002099/0.002099, allocations: 63.89 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3184, allocations: 65.48 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.004519/0.3229, allocations: 1.791 MB / 0.5588 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.3255, allocations: 1.044 MB / 0.5598 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.3256, allocations: 4 kB / 0.5598 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006881/0.3263, allocations: 311.2 kB / 0.5601 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006796/0.327, allocations: 255.2 kB / 0.5603 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.3273, allocations: 107.7 kB / 0.5604 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004799/0.3278, allocations: 267.2 kB / 0.5607 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.118e-05/0.3279, allocations: 13.8 kB / 0.5607 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.3281, allocations: 139.5 kB / 0.5608 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.3285, allocations: 207.5 kB / 0.561 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.946e-05/0.3285, allocations: 8 kB / 0.561 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.3287, allocations: 43.98 kB / 0.5611 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.3289, allocations: 143.5 kB / 0.5612 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.3291, allocations: 115 kB / 0.5613 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005363/0.3296, allocations: 384.1 kB / 0.5617 GB, free: 2.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3296, allocations: 0 / 0.5617 GB, free: 2.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3296, allocations: 4 kB / 0.5617 GB, free: 2.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3296, allocations: 0 / 0.5617 GB, free: 2.715 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001076/0.3307, allocations: 0.6902 MB / 0.5624 GB, free: 1.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3307, allocations: 15.97 kB / 0.5624 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.3308, allocations: 30.75 kB / 0.5624 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.305e-05/0.3309, allocations: 48.61 kB / 0.5625 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.3315, allocations: 394.5 kB / 0.5628 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.3315, allocations: 4.375 kB / 0.5628 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3315, allocations: 7.938 kB / 0.5629 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.3317, allocations: 91.3 kB / 0.5629 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3318, allocations: 0 / 0.5629 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.3318, allocations: 7.984 kB / 0.5629 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3318, allocations: 0 / 0.5629 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.3319, allocations: 39.97 kB / 0.563 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.3324, allocations: 337.4 kB / 0.5633 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.3327, allocations: 105.1 kB / 0.5634 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.3328, allocations: 37.7 kB / 0.5634 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.3328, allocations: 7.984 kB / 0.5634 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.333, allocations: 117 kB / 0.5636 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.333, allocations: 0 / 0.5636 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005193/0.3335, allocations: 209.2 kB / 0.5638 GB, free: 440 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.3336, allocations: 81.11 kB / 0.5638 GB, free: 340 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.3349, allocations: 1.058 MB / 0.5649 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.3349, allocations: 29.7 kB / 0.5649 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.3351, allocations: 240.1 kB / 0.5651 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.3352, allocations: 31.78 kB / 0.5652 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.3352, allocations: 29.72 kB / 0.5652 GB, free: 14.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.3354, allocations: 370.8 kB / 0.5655 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.715e-05/0.3355, allocations: 35.97 kB / 0.5656 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.3356, allocations: 55.42 kB / 0.5656 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.3359, allocations: 95.34 kB / 0.5657 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3359, allocations: 3.938 kB / 0.5657 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003638/0.3362, allocations: 181.8 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3362, allocations: 8 kB / 0.5659 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3363, allocations: 0 / 0.5659 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3363, allocations: 0 / 0.5659 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3364, allocations: 32.05 kB / 0.5659 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3364, allocations: 3.938 kB / 0.5659 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.349e-05/0.3365, allocations: 7.938 kB / 0.5659 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.3365, allocations: 4 kB / 0.5659 GB, free: 14.1 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.000239/0.3367, allocations: 229.6 kB / 0.5662 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.017e-05/0.3368, allocations: 55.62 kB / 0.5662 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/0.3372, allocations: 209.8 kB / 0.5664 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3372, allocations: 4 kB / 0.5664 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3372, allocations: 0 / 0.5664 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3372, allocations: 0 / 0.5664 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.3376, allocations: 292.5 kB / 0.5667 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3376, allocations: 0 / 0.5667 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/0.3376, allocations: 12 kB / 0.5667 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3376, allocations: 0 / 0.5667 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3376, allocations: 3.984 kB / 0.5667 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3376, allocations: 4 kB / 0.5667 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3376, allocations: 4 kB / 0.5667 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.338, allocations: 221.5 kB / 0.5669 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.3382, allocations: 71.53 kB / 0.567 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.3382, allocations: 15.92 kB / 0.567 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/0.3383, allocations: 4 kB / 0.567 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.3383, allocations: 7.984 kB / 0.567 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.3383, allocations: 8 kB / 0.567 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009135/0.3393, allocations: 0.7917 MB / 0.5678 GB, free: 12.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3393, allocations: 0 / 0.5678 GB, free: 12.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.3395, allocations: 44 kB / 0.5679 GB, free: 12.07 MB / 414.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002291/0.3418, allocations: 1.097 MB / 0.5689 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.3421, allocations: 83.89 kB / 0.569 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3421, allocations: 4 kB / 0.569 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.3422, allocations: 43.86 kB / 0.5691 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.3426, allocations: 86.38 kB / 0.5691 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006138/0.3488, allocations: 4.594 MB / 0.5736 GB, free: 6.211 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3491, allocations: 241.7 kB / 0.5739 GB, free: 5.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.3493, allocations: 54.95 kB / 0.5739 GB, free: 5.898 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.3495, allocations: 155.4 kB / 0.5741 GB, free: 5.75 MB / 414.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3495, allocations: 0 / 0.5741 GB, free: 5.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04046/0.39, allocations: 10 MB / 0.5838 GB, free: 11.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.81, allocations: 2.969 kB / 0.5838 GB, free: 11.82 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.901902102865279]