Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.0007587/0.0007587, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008193/0.0008193, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8904/0.8904, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2282/0.2282, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 4 kB / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.402e-05, allocations: 2.281 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.001985/0.001999, allocations: 1.714 MB / 441.4 MB, free: 2.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.003048, allocations: 0.9742 MB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.003113, allocations: 3.938 kB / 442.4 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.00337, allocations: 47.81 kB / 442.4 MB, free: 1.398 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.003653, allocations: 107.4 kB / 442.5 MB, free: 1.293 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/0.003795, allocations: 75.66 kB / 442.6 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.003939, allocations: 115.6 kB / 442.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.004028, allocations: 4 kB / 442.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.44e-05/0.004102, allocations: 55.88 kB / 442.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.313e-05/0.004165, allocations: 23.92 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.00418, allocations: 4 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.697e-05/0.004257, allocations: 55.78 kB / 442.8 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.00431, allocations: 27.92 kB / 442.9 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.004345, allocations: 23.86 kB / 442.9 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.004523, allocations: 135.5 kB / 443 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.004525, allocations: 3.938 kB / 443 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.004526, allocations: 4 kB / 443 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.00453, allocations: 0 / 443 MB, free: 0.7734 MB / 410.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.0004137/0.004944, allocations: 381.3 kB / 443.4 MB, free: 380 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.00498, allocations: 8.031 kB / 443.4 MB, free: 372 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.637e-05/0.005006, allocations: 34.69 kB / 443.4 MB, free: 328 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.005038, allocations: 16.84 kB / 443.5 MB, free: 312 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.00522, allocations: 166.5 kB / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.005229, allocations: 384 / 443.6 MB, free: 120 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.005245, allocations: 4.375 kB / 443.6 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.005346, allocations: 57.98 kB / 443.7 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.005356, allocations: 7.984 kB / 443.7 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.005364, allocations: 0 / 443.7 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.005369, allocations: 4 kB / 443.7 MB, free: 40 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.733e-05/0.005416, allocations: 15.98 kB / 443.7 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1549/0.1603, allocations: 267.8 kB / 444 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1605, allocations: 60.38 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.1605, allocations: 18.98 kB / 444.1 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1605, allocations: 0 / 444.1 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000125/0.1607, allocations: 70.84 kB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1607, allocations: 0 / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004092/0.1611, allocations: 195.7 kB / 444.3 MB, free: 46.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.1611, allocations: 54.78 kB / 444.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1612, allocations: 288.6 kB / 444.7 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.722e-06/0.1612, allocations: 27.11 kB / 444.7 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.1613, allocations: 119.4 kB / 444.8 MB, free: 45.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.1613, allocations: 32.2 kB / 444.8 MB, free: 45.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.1613, allocations: 22.19 kB / 444.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.7e-05/0.1614, allocations: 332.6 kB / 445.2 MB, free: 45.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.1614, allocations: 24.53 kB / 445.2 MB, free: 45.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-05/0.1614, allocations: 33.44 kB / 445.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.497e-05/0.1615, allocations: 65.8 kB / 445.3 MB, free: 45.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1615, allocations: 0 / 445.3 MB, free: 45.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001052/0.1616, allocations: 112.6 kB / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1616, allocations: 8.484 kB / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1616, allocations: 2.812 kB / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1617, allocations: 0 / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.1617, allocations: 17.77 kB / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1617, allocations: 7.141 kB / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.981e-05/0.1618, allocations: 6.594 kB / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1618, allocations: 5.922 kB / 445.4 MB, free: 45.57 MB / 410.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 5.847e-05/0.1618, allocations: 139.1 kB / 445.6 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.1618, allocations: 20.56 kB / 445.6 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.162, allocations: 128.5 kB / 445.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.162, allocations: 2.906 kB / 445.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.162, allocations: 0 / 445.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.162, allocations: 0 / 445.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.1622, allocations: 388.5 kB / 446.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1622, allocations: 0 / 446.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/0.1622, allocations: 10.84 kB / 446.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1622, allocations: 3 kB / 446.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1623, allocations: 9.531 kB / 446.1 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1623, allocations: 4.281 kB / 446.1 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1623, allocations: 0 / 446.1 MB, free: 45.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.1624, allocations: 221.6 kB / 446.4 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.1624, allocations: 13.5 kB / 446.4 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1624, allocations: 3.125 kB / 446.4 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.883e-05/0.1624, allocations: 4 kB / 446.4 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.1625, allocations: 6.047 kB / 446.4 MB, free: 44.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.1625, allocations: 9.25 kB / 446.4 MB, free: 44.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.598e-05/0.1626, allocations: 218.3 kB / 446.6 MB, free: 44.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1626, allocations: 0.6562 kB / 446.6 MB, free: 44.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001703/0.1627, allocations: 26.73 kB / 446.6 MB, free: 44.78 MB / 410.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.0008688/0.1636, allocations: 1.149 MB / 447.8 MB, free: 44.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.1637, allocations: 61.3 kB / 447.8 MB, free: 44.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1637, allocations: 0 / 447.8 MB, free: 44.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.1638, allocations: 30.53 kB / 447.9 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.164, allocations: 28.52 kB / 447.9 MB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.165, allocations: 1.885 MB / 449.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.542e-05/0.1651, allocations: 114.8 kB / 449.9 MB, free: 42.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.973e-05/0.1651, allocations: 17.03 kB / 449.9 MB, free: 42.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.1651, allocations: 47.53 kB / 450 MB, free: 42.45 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1652, allocations: 0 / 450 MB, free: 42.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.1832, allocations: 4.678 MB / 454.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.604/6.787, allocations: 11.06 kB / 454.6 MB, free: 41.01 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.693877457641065]