Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001547/0.001547, 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.002299/0.002299, allocations: 216.6 kB / 23.73 MB, free: 4.156 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2481/0.2481, allocations: 46.95 MB / 360.9 MB, free: 4.121 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.Test78,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 55.91 kB / 0.4962 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3355, allocations: 66.04 MB / 0.5607 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003597/0.3391, allocations: 1.866 MB / 0.5625 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.3411, allocations: 1.077 MB / 0.5635 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.681e-05/0.3412, allocations: 0 / 0.5635 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005644/0.3418, allocations: 259.3 kB / 0.5638 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005748/0.3424, allocations: 231.2 kB / 0.564 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.3427, allocations: 119.6 kB / 0.5641 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000352/0.343, allocations: 275.2 kB / 0.5644 GB, free: 380 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3431, allocations: 15.8 kB / 0.5644 GB, free: 364 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.3433, allocations: 139.5 kB / 0.5645 GB, free: 224 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.3436, allocations: 211.4 kB / 0.5647 GB, free: 12 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.3436, allocations: 8 kB / 0.5647 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.3438, allocations: 67.97 kB / 0.5648 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.91e-05/0.3439, allocations: 63.7 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.701e-05/0.344, allocations: 75.41 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.3443, allocations: 266.7 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3443, allocations: 0 / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3443, allocations: 0 / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3443, allocations: 4 kB / 0.5652 GB, free: 15.54 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.0008213/0.3452, allocations: 0.5118 MB / 0.5657 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.3452, allocations: 16.02 kB / 0.5657 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.3452, allocations: 34.75 kB / 0.5658 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.3453, allocations: 32.75 kB / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.3457, allocations: 236.8 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3457, allocations: 8.375 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.3458, allocations: 7.938 kB / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.346, allocations: 119.3 kB / 0.5661 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.3461, allocations: 4 kB / 0.5661 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3461, allocations: 0 / 0.5661 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3461, allocations: 4 kB / 0.5661 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.3462, allocations: 55.83 kB / 0.5662 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006906/0.3469, allocations: 444 kB / 0.5666 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004775/0.3474, allocations: 125.1 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3475, allocations: 45.81 kB / 0.5668 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.3475, allocations: 8 kB / 0.5668 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003004/0.3478, allocations: 125 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.3478, allocations: 0 / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001463/0.3493, allocations: 0.5243 MB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.3494, allocations: 85.05 kB / 0.5675 GB, free: 12.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005932/0.35, allocations: 0.4938 MB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.35, allocations: 37.7 kB / 0.568 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.3501, allocations: 172.5 kB / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/0.3502, allocations: 71.41 kB / 0.5683 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-05/0.3503, allocations: 45.7 kB / 0.5683 GB, free: 12.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002306/0.3505, allocations: 346.8 kB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.3507, allocations: 63.91 kB / 0.5687 GB, free: 11.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.3509, allocations: 91.41 kB / 0.5688 GB, free: 11.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.3512, allocations: 159.6 kB / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3512, allocations: 4 kB / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004865/0.3517, allocations: 249.2 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.3517, allocations: 8 kB / 0.5692 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3517, allocations: 0 / 0.5692 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3517, allocations: 0 / 0.5692 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.3519, allocations: 47.91 kB / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3519, allocations: 0 / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.352, allocations: 12 kB / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.352, allocations: 12.06 kB / 0.5692 GB, free: 11.13 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.000181/0.3522, allocations: 174.3 kB / 0.5694 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.3522, allocations: 43.69 kB / 0.5695 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000607/0.3528, allocations: 281.1 kB / 0.5697 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3528, allocations: 7.938 kB / 0.5697 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.3528, allocations: 3.984 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3528, allocations: 0 / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.354, allocations: 0.7223 MB / 0.5704 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.354, allocations: 4 kB / 0.5704 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.3541, allocations: 31.98 kB / 0.5705 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.3541, allocations: 4 kB / 0.5705 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.3541, allocations: 4 kB / 0.5705 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.3541, allocations: 7.984 kB / 0.5705 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.3541, allocations: 7.875 kB / 0.5705 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/0.3547, allocations: 439.5 kB / 0.5709 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.3548, allocations: 31.81 kB / 0.5709 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.3549, allocations: 12.09 kB / 0.571 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.355, allocations: 15.92 kB / 0.571 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/0.3551, allocations: 23.91 kB / 0.571 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.3551, allocations: 8 kB / 0.571 GB, free: 9.223 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004579/0.3556, allocations: 383.1 kB / 0.5714 GB, free: 8.852 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3556, allocations: 0 / 0.5714 GB, free: 8.852 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000403/0.356, allocations: 51.94 kB / 0.5714 GB, free: 8.801 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.002977/0.3589, allocations: 1.442 MB / 0.5728 GB, free: 7.578 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004545/0.3594, allocations: 155.8 kB / 0.573 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3594, allocations: 0 / 0.573 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.3596, allocations: 80.03 kB / 0.5731 GB, free: 7.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005986/0.3602, allocations: 66.27 kB / 0.5731 GB, free: 7.289 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/0.3643, allocations: 3.029 MB / 0.5761 GB, free: 4.133 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.3646, allocations: 186.3 kB / 0.5763 GB, free: 3.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.3647, allocations: 41.89 kB / 0.5763 GB, free: 3.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.3648, allocations: 107.4 kB / 0.5764 GB, free: 3.785 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3648, allocations: 0 / 0.5764 GB, free: 3.785 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.3989, allocations: 7.475 MB / 0.5837 GB, free: 12.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.77, allocations: 8 kB / 0.5837 GB, free: 12.38 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.911042750813067]