Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.002141/0.002141, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.002326/0.002326, allocations: 205.6 kB / 23.73 MB, free: 4.492 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2235/0.2235, allocations: 44.93 MB / 358.8 MB, free: 6.012 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.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",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.002115/0.002115, allocations: 75.89 kB / 0.4931 GB, free: 10.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3371, allocations: 65.47 MB / 0.557 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003275/0.3404, allocations: 1.863 MB / 0.5589 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.3424, allocations: 1.08 MB / 0.5599 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.022e-05/0.3425, allocations: 7.938 kB / 0.5599 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004665/0.3429, allocations: 247.4 kB / 0.5602 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004698/0.3434, allocations: 247.1 kB / 0.5604 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.3436, allocations: 111.7 kB / 0.5605 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000345/0.344, allocations: 275.2 kB / 0.5608 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3441, allocations: 23.78 kB / 0.5608 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.3443, allocations: 135.5 kB / 0.5609 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.3445, allocations: 207.4 kB / 0.5611 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.3446, allocations: 8 kB / 0.5611 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.3447, allocations: 63.92 kB / 0.5612 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.865e-05/0.3448, allocations: 67.75 kB / 0.5612 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.895e-05/0.3449, allocations: 67.42 kB / 0.5613 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.3452, allocations: 262.7 kB / 0.5616 GB, free: 2.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3452, allocations: 3.938 kB / 0.5616 GB, free: 2.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.3452, allocations: 4 kB / 0.5616 GB, free: 2.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.3452, allocations: 0 / 0.5616 GB, free: 2.785 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.0007808/0.346, allocations: 0.5235 MB / 0.5621 GB, free: 2.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.346, allocations: 16.03 kB / 0.5621 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.3461, allocations: 38.75 kB / 0.5621 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.3462, allocations: 32.75 kB / 0.5622 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.3465, allocations: 228.8 kB / 0.5624 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.3465, allocations: 4.375 kB / 0.5624 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.3466, allocations: 15.94 kB / 0.5624 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.3468, allocations: 115.3 kB / 0.5625 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3468, allocations: 0 / 0.5625 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.3469, allocations: 7.984 kB / 0.5625 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3469, allocations: 7.984 kB / 0.5625 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.347, allocations: 51.91 kB / 0.5626 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006902/0.3477, allocations: 439.9 kB / 0.563 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.3481, allocations: 117.2 kB / 0.5631 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.3483, allocations: 49.81 kB / 0.5632 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.3483, allocations: 0 / 0.5632 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.3485, allocations: 133.1 kB / 0.5633 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.3485, allocations: 4 kB / 0.5633 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001407/0.35, allocations: 0.5246 MB / 0.5638 GB, free: 336 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.35, allocations: 81.05 kB / 0.5639 GB, free: 236 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/0.3506, allocations: 0.4977 MB / 0.5644 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.3506, allocations: 33.7 kB / 0.5644 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.3508, allocations: 172.5 kB / 0.5646 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.638e-05/0.3509, allocations: 71.44 kB / 0.5646 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.3509, allocations: 45.7 kB / 0.5647 GB, free: 15.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3511, allocations: 350.8 kB / 0.565 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3513, allocations: 55.97 kB / 0.5651 GB, free: 14.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.3514, allocations: 103.3 kB / 0.5652 GB, free: 14.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.3518, allocations: 155.4 kB / 0.5653 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3518, allocations: 0 / 0.5653 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004669/0.3522, allocations: 249.6 kB / 0.5655 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3522, allocations: 10.81 kB / 0.5656 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3522, allocations: 0 / 0.5656 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3523, allocations: 8 kB / 0.5656 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.3524, allocations: 43.91 kB / 0.5656 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3524, allocations: 4 kB / 0.5656 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.033e-05/0.3525, allocations: 8 kB / 0.5656 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.3525, allocations: 7.984 kB / 0.5656 GB, free: 14.38 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.0001846/0.3527, allocations: 174.3 kB / 0.5658 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.3528, allocations: 43.64 kB / 0.5658 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006121/0.3534, allocations: 296.6 kB / 0.5661 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3534, allocations: 0 / 0.5661 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.3534, allocations: 4 kB / 0.5661 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3534, allocations: 0 / 0.5661 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.3545, allocations: 0.7184 MB / 0.5668 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3545, allocations: 0 / 0.5668 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.3546, allocations: 27.98 kB / 0.5668 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3546, allocations: 8.125 kB / 0.5669 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.3546, allocations: 15.92 kB / 0.5669 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.3547, allocations: 7.938 kB / 0.5669 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3547, allocations: 3.938 kB / 0.5669 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.3552, allocations: 447.4 kB / 0.5673 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.3553, allocations: 27.81 kB / 0.5673 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.3553, allocations: 11.98 kB / 0.5673 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.3555, allocations: 11.94 kB / 0.5674 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.3555, allocations: 19.97 kB / 0.5674 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.3556, allocations: 19.98 kB / 0.5674 GB, free: 12.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004085/0.356, allocations: 375.1 kB / 0.5678 GB, free: 12.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.356, allocations: 0 / 0.5678 GB, free: 12.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00037/0.3563, allocations: 51.94 kB / 0.5678 GB, free: 12.04 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 (24): * Single equations (assignments): 20 * 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.003076/0.3594, allocations: 1.436 MB / 0.5692 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004698/0.3599, allocations: 167.8 kB / 0.5694 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3599, allocations: 0 / 0.5694 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.3601, allocations: 79.84 kB / 0.5694 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006274/0.3607, allocations: 67.73 kB / 0.5695 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.3648, allocations: 3.018 MB / 0.5725 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.365, allocations: 174.4 kB / 0.5726 GB, free: 7.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001375/0.3652, allocations: 33.94 kB / 0.5726 GB, free: 7.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.3654, allocations: 107.4 kB / 0.5728 GB, free: 7.043 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3654, allocations: 0 / 0.5728 GB, free: 7.043 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03632/0.4017, allocations: 7.496 MB / 0.5801 GB, free: 15.62 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.79, allocations: 11.52 kB / 0.5801 GB, free: 15.61 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.89511000784114]