Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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.0008524/0.0008524, allocations: 76.53 kB / 19.92 MB, free: 4.637 MB / 18.57 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.0009007/0.0009007, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8989/0.8989, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1343/0.1343, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 406.9 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.938e-05, allocations: 6.078 kB / 406.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002343/0.002363, allocations: 1.804 MB / 408.7 MB, free: 356 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.003444, allocations: 0.8699 MB / 409.6 MB, free: 15.47 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.585e-05/0.00353, allocations: 4 kB / 409.6 MB, free: 15.46 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004592/0.003989, allocations: 227.2 kB / 409.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.004289, allocations: 171.3 kB / 410 MB, free: 15.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003136/0.004603, allocations: 151.5 kB / 410.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.004865, allocations: 235.2 kB / 410.4 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.004967, allocations: 17.81 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.005116, allocations: 139.6 kB / 410.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.00526, allocations: 147.6 kB / 410.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.005281, allocations: 8 kB / 410.7 MB, free: 14.39 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.005371, allocations: 43.98 kB / 410.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.005437, allocations: 55.77 kB / 410.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.005486, allocations: 39.8 kB / 410.8 MB, free: 14.25 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.005709, allocations: 215.2 kB / 411 MB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.005711, allocations: 0 / 411 MB, free: 14.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.005712, allocations: 3.938 kB / 411 MB, free: 14.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.005717, allocations: 3.938 kB / 411 MB, free: 14.03 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005367/0.006254, allocations: 472.6 kB / 411.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.006292, allocations: 12.03 kB / 411.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.006325, allocations: 34.75 kB / 411.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.006369, allocations: 28.75 kB / 411.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005375/0.006907, allocations: 217.8 kB / 411.8 MB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.006922, allocations: 4.375 kB / 411.8 MB, free: 13.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.006945, allocations: 12.3 kB / 411.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.007162, allocations: 103.7 kB / 411.9 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.007173, allocations: 0 / 411.9 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.007184, allocations: 8 kB / 411.9 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.007189, allocations: 3.938 kB / 411.9 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.558e-05/0.007274, allocations: 39.97 kB / 411.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.007692, allocations: 419.9 kB / 412.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.007872, allocations: 121.3 kB / 412.5 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.007929, allocations: 37.7 kB / 412.5 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.007946, allocations: 8 kB / 412.5 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.008106, allocations: 117.1 kB / 412.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.008107, allocations: 3.938 kB / 412.6 MB, free: 12.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006059/0.008713, allocations: 380.6 kB / 413 MB, free: 11.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.008765, allocations: 81.11 kB / 413.1 MB, free: 11.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.009057, allocations: 436.5 kB / 413.5 MB, free: 11.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.009078, allocations: 33.7 kB / 413.5 MB, free: 11.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.009147, allocations: 148.4 kB / 413.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.009185, allocations: 51.58 kB / 413.7 MB, free: 11.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.009227, allocations: 41.7 kB / 413.8 MB, free: 11.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.196e-05/0.009319, allocations: 346.8 kB / 414.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.149e-05/0.00938, allocations: 47.91 kB / 414.2 MB, free: 10.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.854e-05/0.009449, allocations: 71.41 kB / 414.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.009579, allocations: 127.5 kB / 414.4 MB, free: 10.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.00958, allocations: 0 / 414.4 MB, free: 10.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002099/0.00979, allocations: 189.4 kB / 414.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.009804, allocations: 4 kB / 414.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.00981, allocations: 0 / 414.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.009823, allocations: 4 kB / 414.6 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.469e-05/0.009918, allocations: 35.92 kB / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.009923, allocations: 4 kB / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.009971, allocations: 11.92 kB / 414.6 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.009981, allocations: 8 kB / 414.6 MB, free: 10.19 MB / 394.7 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 (20): * Single equations (assignments): 20 * 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.0001088/0.01009, allocations: 165.7 kB / 414.8 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.01012, allocations: 31.78 kB / 414.8 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.01038, allocations: 228.1 kB / 415 MB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01039, allocations: 4 kB / 415 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.01039, allocations: 0 / 415 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.0104, allocations: 3.984 kB / 415 MB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.0109, allocations: 0.6048 MB / 415.6 MB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01091, allocations: 0 / 415.6 MB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.01095, allocations: 19.94 kB / 415.7 MB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.01095, allocations: 7.938 kB / 415.7 MB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.01097, allocations: 16.05 kB / 415.7 MB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.01097, allocations: 4 kB / 415.7 MB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.01098, allocations: 4 kB / 415.7 MB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.01124, allocations: 380.2 kB / 416.1 MB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.01126, allocations: 23.84 kB / 416.1 MB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.01129, allocations: 7.938 kB / 416.1 MB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.01136, allocations: 11.94 kB / 416.1 MB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.01141, allocations: 15.97 kB / 416.1 MB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.01143, allocations: 8 kB / 416.1 MB, free: 8.578 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002114/0.01164, allocations: 327 kB / 416.4 MB, free: 8.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01164, allocations: 4 kB / 416.5 MB, free: 8.258 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002355/0.01187, allocations: 39.94 kB / 416.5 MB, free: 8.219 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 14 * 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.001259/0.01313, allocations: 1.32 MB / 417.8 MB, free: 6.898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.01338, allocations: 115.9 kB / 417.9 MB, free: 6.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.01338, allocations: 0 / 417.9 MB, free: 6.785 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.01347, allocations: 59.86 kB / 418 MB, free: 6.727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.01387, allocations: 72.77 kB / 418.1 MB, free: 6.656 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.01636, allocations: 2.669 MB / 420.7 MB, free: 3.859 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.01649, allocations: 152.8 kB / 420.9 MB, free: 3.691 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.455e-05/0.01658, allocations: 33.61 kB / 420.9 MB, free: 3.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.01668, allocations: 84.47 kB / 421 MB, free: 3.574 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01668, allocations: 0 / 421 MB, free: 3.574 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.03556, allocations: 6.71 MB / 427.7 MB, free: 12.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.52/6.555, allocations: 4.062 kB / 427.7 MB, free: 12.73 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.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: 8.589894114993513]