Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.0008929/0.0008929, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.00102/0.00102, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8408/0.8408, allocations: 158.6 MB / 185 MB, free: 3.027 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.1332/0.1332, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.741e-05, allocations: 2.281 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002124/0.002141, allocations: 1.672 MB / 408.6 MB, free: 484 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000892/0.003033, allocations: 0.7843 MB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.003099, allocations: 3.938 kB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.003387, allocations: 43.75 kB / 409.4 MB, free: 15.63 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.003582, allocations: 59.7 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.003769, allocations: 91.62 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.003918, allocations: 95.64 kB / 409.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.004005, allocations: 8.234 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.791e-05/0.004083, allocations: 59.75 kB / 409.7 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.537e-05/0.004148, allocations: 19.92 kB / 409.7 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.004165, allocations: 4 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.659e-05/0.004241, allocations: 47.91 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.004291, allocations: 23.92 kB / 409.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.004325, allocations: 19.88 kB / 409.8 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.004488, allocations: 115.6 kB / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.00449, allocations: 0 / 410 MB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004491, allocations: 3.938 kB / 410 MB, free: 15.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.004494, allocations: 0 / 410 MB, free: 15.09 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004107/0.004905, allocations: 341.6 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.004939, allocations: 8.031 kB / 410.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.867e-05/0.004967, allocations: 34.75 kB / 410.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.919e-05/0.004997, allocations: 12.89 kB / 410.3 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.005177, allocations: 154.2 kB / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.005189, allocations: 4.375 kB / 410.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.005205, allocations: 4.375 kB / 410.5 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.005322, allocations: 61.98 kB / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.005332, allocations: 0 / 410.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.00534, allocations: 4 kB / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.005344, allocations: 0 / 410.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.986e-05/0.005394, allocations: 27.91 kB / 410.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/0.005678, allocations: 255.9 kB / 410.8 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.005796, allocations: 54.67 kB / 410.9 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.005828, allocations: 20.84 kB / 410.9 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.005842, allocations: 4 kB / 410.9 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.005954, allocations: 71.39 kB / 411 MB, free: 13.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.005955, allocations: 0 / 411 MB, free: 13.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003826/0.006338, allocations: 193.3 kB / 411.2 MB, free: 13.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.006368, allocations: 55.39 kB / 411.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.006489, allocations: 199.3 kB / 411.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.006503, allocations: 29.7 kB / 411.5 MB, free: 13.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.006546, allocations: 104.1 kB / 411.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.00657, allocations: 27.73 kB / 411.6 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.006601, allocations: 25.7 kB / 411.6 MB, free: 13.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.057e-05/0.006692, allocations: 330.8 kB / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.696e-05/0.006729, allocations: 20 kB / 412 MB, free: 12.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/0.00677, allocations: 33.7 kB / 412 MB, free: 12.87 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.291e-05/0.006843, allocations: 61.7 kB / 412.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.006844, allocations: 0 / 412.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001136/0.006958, allocations: 113.6 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.00697, allocations: 4 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.006973, allocations: 80 / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.006985, allocations: 8.031 kB / 412.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.007042, allocations: 16.17 kB / 412.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.007047, allocations: 7.922 kB / 412.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.72e-05/0.007074, allocations: 7.938 kB / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.007079, allocations: 0 / 412.2 MB, free: 12.64 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.962e-05/0.007149, allocations: 133.8 kB / 412.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.007159, allocations: 7.953 kB / 412.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.00731, allocations: 123.1 kB / 412.5 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.007312, allocations: 0 / 412.5 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.007315, allocations: 4 kB / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.007318, allocations: 0 / 412.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.007596, allocations: 370.3 kB / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.007597, allocations: 0 / 412.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.007627, allocations: 12 kB / 412.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.007629, allocations: 7.938 kB / 412.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.007637, allocations: 3.984 kB / 412.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.007639, allocations: 384 / 412.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.007641, allocations: 3.938 kB / 412.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.00777, allocations: 208.3 kB / 413.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.007781, allocations: 15.94 kB / 413.1 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.007798, allocations: 11.98 kB / 413.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.627e-05/0.007835, allocations: 4 kB / 413.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.007861, allocations: 11.92 kB / 413.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.007873, allocations: 4 kB / 413.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.792e-05/0.007951, allocations: 152.9 kB / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007951, allocations: 0 / 413.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.008126, allocations: 31.88 kB / 413.3 MB, free: 11.47 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009229/0.009049, allocations: 1.129 MB / 414.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.009173, allocations: 63.89 kB / 414.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009174, allocations: 3.938 kB / 414.5 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/0.009215, allocations: 31.98 kB / 414.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.009433, allocations: 32.36 kB / 414.5 MB, free: 10.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.01054, allocations: 1.674 MB / 416.2 MB, free: 8.445 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.759e-05/0.01061, allocations: 88.31 kB / 416.3 MB, free: 8.336 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.622e-05/0.01065, allocations: 16.48 kB / 416.3 MB, free: 8.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.0107, allocations: 44.47 kB / 416.4 MB, free: 8.277 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/0.0107, allocations: 7.938 kB / 416.4 MB, free: 8.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01536/0.02606, allocations: 4.254 MB / 420.6 MB, free: 3.883 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.564/6.59, allocations: 11.91 kB / 420.6 MB, free: 3.871 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.55221098382026]