Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.00081/0.00081, allocations: 80.53 kB / 19.93 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.0008258/0.0008258, allocations: 169.9 kB / 23.2 MB, free: 1.359 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.8468/0.8468, 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.1336/0.1336, 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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 406.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.161e-05, allocations: 9.938 kB / 406.9 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002792/0.002814, allocations: 1.876 MB / 408.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.003969, allocations: 0.8036 MB / 409.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.004093, allocations: 3.938 kB / 409.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.004493, allocations: 55.62 kB / 409.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.004726, allocations: 59.58 kB / 409.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.005033, allocations: 111.6 kB / 409.8 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.005261, allocations: 139.5 kB / 410 MB, free: 10.38 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.005398, allocations: 21.67 kB / 410 MB, free: 10.35 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.005517, allocations: 75.75 kB / 410.1 MB, free: 10.28 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.005622, allocations: 39.88 kB / 410.1 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.005648, allocations: 11.94 kB / 410.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.005765, allocations: 43.92 kB / 410.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.569e-05/0.00584, allocations: 23.92 kB / 410.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.544e-05/0.005906, allocations: 27.86 kB / 410.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.006184, allocations: 147.5 kB / 410.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.006189, allocations: 0 / 410.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.006191, allocations: 3.984 kB / 410.4 MB, free: 9.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.006199, allocations: 0 / 410.4 MB, free: 9.984 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006664/0.006866, allocations: 411.1 kB / 410.8 MB, free: 9.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.00692, allocations: 12.03 kB / 410.8 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.006958, allocations: 34.75 kB / 410.8 MB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.149e-05/0.00702, allocations: 16.84 kB / 410.8 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.00733, allocations: 169.5 kB / 411 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.007343, allocations: 8.312 kB / 411 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.007365, allocations: 8.375 kB / 411 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.007571, allocations: 142.2 kB / 411.1 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.007578, allocations: 0 / 411.1 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.00759, allocations: 4 kB / 411.1 MB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.007597, allocations: 7.984 kB / 411.1 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.007701, allocations: 47.91 kB / 411.2 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.00819, allocations: 476.1 kB / 411.7 MB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.008436, allocations: 82.61 kB / 411.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.008493, allocations: 40.83 kB / 411.8 MB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.00851, allocations: 3.938 kB / 411.8 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.008684, allocations: 113 kB / 411.9 MB, free: 8.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.515e-06/0.008686, allocations: 0 / 411.9 MB, free: 8.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002717/0.008958, allocations: 145.5 kB / 412 MB, free: 8.121 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.008993, allocations: 51.41 kB / 412.1 MB, free: 8.059 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.009128, allocations: 199.5 kB / 412.3 MB, free: 7.848 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.009141, allocations: 25.7 kB / 412.3 MB, free: 7.816 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.009204, allocations: 128 kB / 412.4 MB, free: 7.688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.009226, allocations: 27.8 kB / 412.5 MB, free: 7.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.009263, allocations: 25.72 kB / 412.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.924e-05/0.009343, allocations: 322.8 kB / 412.8 MB, free: 7.305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.009398, allocations: 35.97 kB / 412.8 MB, free: 7.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.009457, allocations: 68.39 kB / 412.9 MB, free: 7.188 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.009574, allocations: 100.5 kB / 413 MB, free: 7.074 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.009577, allocations: 0 / 413 MB, free: 7.074 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001714/0.009748, allocations: 137.4 kB / 413.1 MB, free: 6.934 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.009765, allocations: 18.58 kB / 413.2 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.009773, allocations: 4 kB / 413.2 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.009789, allocations: 4 kB / 413.2 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.94e-05/0.009848, allocations: 16.12 kB / 413.2 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.009856, allocations: 11.98 kB / 413.2 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.924e-05/0.009895, allocations: 19.83 kB / 413.2 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.009904, allocations: 4 kB / 413.2 MB, free: 6.859 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.249e-05/0.009986, allocations: 129.8 kB / 413.3 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.01, allocations: 15.91 kB / 413.4 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.01018, allocations: 131 kB / 413.5 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01018, allocations: 0 / 413.5 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01019, allocations: 0 / 413.5 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01019, allocations: 7.938 kB / 413.5 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.0103, allocations: 172.7 kB / 413.7 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01031, allocations: 0 / 413.7 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.01036, allocations: 11.98 kB / 413.7 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.01036, allocations: 4 kB / 413.7 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.01037, allocations: 0 / 413.7 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01037, allocations: 0 / 413.7 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01037, allocations: 0 / 413.7 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.01061, allocations: 204.9 kB / 413.9 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.01063, allocations: 15.94 kB / 413.9 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.01064, allocations: 8 kB / 413.9 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.046e-05/0.01067, allocations: 11.97 kB / 413.9 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.01071, allocations: 7.984 kB / 413.9 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.01072, allocations: 7.938 kB / 413.9 MB, free: 6.074 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.292e-05/0.01081, allocations: 149.1 kB / 414.1 MB, free: 5.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01081, allocations: 0 / 414.1 MB, free: 5.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001628/0.01097, allocations: 24 kB / 414.1 MB, free: 5.906 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001308/0.01228, allocations: 1.062 MB / 415.2 MB, free: 4.867 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.01244, allocations: 75.89 kB / 415.2 MB, free: 4.793 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01245, allocations: 4 kB / 415.2 MB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.557e-05/0.01251, allocations: 39.91 kB / 415.3 MB, free: 4.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.01273, allocations: 39.91 kB / 415.3 MB, free: 4.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.01409, allocations: 1.753 MB / 417.1 MB, free: 2.855 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.508e-05/0.01416, allocations: 102.8 kB / 417.2 MB, free: 2.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.963e-05/0.01422, allocations: 17.14 kB / 417.2 MB, free: 2.715 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.01427, allocations: 44.48 kB / 417.2 MB, free: 2.672 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01428, allocations: 3.938 kB / 417.2 MB, free: 2.668 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.03132, allocations: 4.648 MB / 421.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.533/6.565, allocations: 15.83 kB / 421.9 MB, free: 13.89 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.64809339120984]