Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001286/0.001286, 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.00207/0.00207, allocations: 209.3 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.496/1.496, 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.227/0.227, allocations: 46.96 MB / 360.9 MB, free: 4.027 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.Test75,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 67.89 kB / 0.4962 GB, free: 7.637 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3494, allocations: 66.03 MB / 0.5607 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00467/0.3541, allocations: 1.878 MB / 0.5625 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.3562, allocations: 1.08 MB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.3564, allocations: 4 kB / 0.5636 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005819/0.3569, allocations: 223.4 kB / 0.5638 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005702/0.3575, allocations: 211.2 kB / 0.564 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.3579, allocations: 123.6 kB / 0.5641 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.3583, allocations: 263.2 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.3584, allocations: 19.78 kB / 0.5644 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.3586, allocations: 123.5 kB / 0.5645 GB, free: 284 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.3588, allocations: 171.5 kB / 0.5646 GB, free: 112 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.3589, allocations: 11.98 kB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.359, allocations: 67.97 kB / 0.5647 GB, free: 32 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.3591, allocations: 63.7 kB / 0.5648 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.878e-05/0.3592, allocations: 67.47 kB / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.3596, allocations: 246.8 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.3596, allocations: 4 kB / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.3596, allocations: 0 / 0.5651 GB, free: 15.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3596, allocations: 4 kB / 0.5651 GB, free: 15.65 MB / 414.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.0007385/0.3603, allocations: 0.4925 MB / 0.5656 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3604, allocations: 12.03 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.669e-05/0.3604, allocations: 42.67 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.3605, allocations: 32.75 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.3609, allocations: 218.5 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.3609, allocations: 8.375 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.3609, allocations: 19.88 kB / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.3612, allocations: 115.3 kB / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3612, allocations: 0 / 0.566 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.3612, allocations: 8 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3613, allocations: 0 / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.3614, allocations: 47.97 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00063/0.362, allocations: 435.9 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.3624, allocations: 121.2 kB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.3625, allocations: 49.81 kB / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.3626, allocations: 0 / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.3628, allocations: 125 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.3628, allocations: 3.938 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001421/0.3642, allocations: 0.5209 MB / 0.5673 GB, free: 13.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.3643, allocations: 81.11 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005202/0.3648, allocations: 460.5 kB / 0.5678 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.3649, allocations: 33.7 kB / 0.5678 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.365, allocations: 160.5 kB / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.388e-05/0.3651, allocations: 75.41 kB / 0.568 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.3651, allocations: 37.72 kB / 0.5681 GB, free: 12.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3653, allocations: 350.8 kB / 0.5684 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.3654, allocations: 59.97 kB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.3656, allocations: 91.39 kB / 0.5685 GB, free: 11.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.3659, allocations: 167.5 kB / 0.5687 GB, free: 11.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3659, allocations: 0 / 0.5687 GB, free: 11.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004289/0.3663, allocations: 241.2 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3663, allocations: 8 kB / 0.5689 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3663, allocations: 0 / 0.5689 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3664, allocations: 4 kB / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.3665, allocations: 47.91 kB / 0.569 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3665, allocations: 4 kB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.043e-05/0.3666, allocations: 16.02 kB / 0.569 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.3666, allocations: 4 kB / 0.569 GB, free: 11.36 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.0001661/0.3668, allocations: 170.3 kB / 0.5692 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.3668, allocations: 39.73 kB / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000561/0.3674, allocations: 280.6 kB / 0.5695 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.3674, allocations: 4 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3674, allocations: 0 / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.3674, allocations: 3.984 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.3685, allocations: 0.7107 MB / 0.5702 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3685, allocations: 0 / 0.5702 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.938e-05/0.3686, allocations: 35.92 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3686, allocations: 192 / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.3686, allocations: 8 kB / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3686, allocations: 7.938 kB / 0.5702 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.3686, allocations: 7.938 kB / 0.5702 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005368/0.3691, allocations: 435.4 kB / 0.5707 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.3692, allocations: 43.88 kB / 0.5707 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.3692, allocations: 8 kB / 0.5707 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.3694, allocations: 7.938 kB / 0.5707 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.3694, allocations: 19.97 kB / 0.5707 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.3695, allocations: 19.92 kB / 0.5707 GB, free: 9.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003356/0.3698, allocations: 335 kB / 0.5711 GB, free: 9.148 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3698, allocations: 4 kB / 0.5711 GB, free: 9.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003674/0.3702, allocations: 51.92 kB / 0.5711 GB, free: 9.094 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.002811/0.373, allocations: 1.434 MB / 0.5725 GB, free: 7.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003697/0.3733, allocations: 163.8 kB / 0.5727 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3733, allocations: 0 / 0.5727 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.3735, allocations: 79.84 kB / 0.5728 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/0.3741, allocations: 63.06 kB / 0.5728 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.3778, allocations: 2.913 MB / 0.5757 GB, free: 4.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.378, allocations: 178 kB / 0.5758 GB, free: 4.352 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.3781, allocations: 41.92 kB / 0.5759 GB, free: 4.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.3783, allocations: 95.39 kB / 0.576 GB, free: 4.219 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3783, allocations: 4 kB / 0.576 GB, free: 4.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.4118, allocations: 7.313 MB / 0.5831 GB, free: 12.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.18, allocations: 0 / 0.5831 GB, free: 12.98 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.214452404004987]