Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.0009576/0.0009576, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0007911/0.0007911, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8865/0.8865, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2421/0.2421, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 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.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 442.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.854e-05, allocations: 2.281 kB / 442.3 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.1596/0.1596, allocations: 1.893 MB / 444.2 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1607, allocations: 1.013 MB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.687e-05/0.1608, allocations: 6.781 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.1611, allocations: 42.78 kB / 445.2 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.1614, allocations: 104.2 kB / 445.3 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.1615, allocations: 92.91 kB / 445.4 MB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.1617, allocations: 148.6 kB / 445.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1618, allocations: 31.06 kB / 445.6 MB, free: 42.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.671e-05/0.1619, allocations: 74.69 kB / 445.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.491e-05/0.162, allocations: 40.33 kB / 445.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.162, allocations: 8.688 kB / 445.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.843e-05/0.1621, allocations: 40.62 kB / 445.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.097e-05/0.1622, allocations: 30.66 kB / 445.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.1622, allocations: 29.8 kB / 445.8 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.1624, allocations: 155.2 kB / 446 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1624, allocations: 6.031 kB / 446 MB, free: 42.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1624, allocations: 0 / 446 MB, free: 42.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.1624, allocations: 0 / 446 MB, free: 42.84 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004412/0.1629, allocations: 417.1 kB / 446.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1629, allocations: 10.75 kB / 446.4 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.396e-05/0.1629, allocations: 39.33 kB / 446.4 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.163, allocations: 20.81 kB / 446.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.1632, allocations: 164.1 kB / 446.6 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1632, allocations: 6.406 kB / 446.6 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.1632, allocations: 8.953 kB / 446.6 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1634, allocations: 144.4 kB / 446.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1634, allocations: 0 / 446.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1634, allocations: 1.719 kB / 446.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1634, allocations: 2.844 kB / 446.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.489e-05/0.1635, allocations: 56.16 kB / 446.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.1639, allocations: 478.4 kB / 447.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.1641, allocations: 83.38 kB / 447.4 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.1641, allocations: 38.41 kB / 447.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.1642, allocations: 0 / 447.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.1643, allocations: 112.4 kB / 447.5 MB, free: 41.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.1643, allocations: 0 / 447.5 MB, free: 41.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002536/0.1646, allocations: 151 kB / 447.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.1646, allocations: 61.78 kB / 447.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.1647, allocations: 204.9 kB / 447.9 MB, free: 41.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.1647, allocations: 25.7 kB / 447.9 MB, free: 41.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.1647, allocations: 131.2 kB / 448.1 MB, free: 41.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.1648, allocations: 30.64 kB / 448.1 MB, free: 41.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.1648, allocations: 29.8 kB / 448.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.101e-05/0.1648, allocations: 331 kB / 448.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.601e-05/0.1649, allocations: 25.38 kB / 448.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.82e-05/0.1649, allocations: 64.28 kB / 448.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.957e-05/0.165, allocations: 106.7 kB / 448.6 MB, free: 40.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.165, allocations: 1.031 kB / 448.6 MB, free: 40.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001374/0.1652, allocations: 146.7 kB / 448.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1652, allocations: 2.875 kB / 448.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.1652, allocations: 3.031 kB / 448.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1652, allocations: 6.812 kB / 448.8 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.1653, allocations: 22.72 kB / 448.8 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1653, allocations: 6.812 kB / 448.8 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.1653, allocations: 10.77 kB / 448.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.1653, allocations: 13.34 kB / 448.9 MB, free: 40.69 MB / 410.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 5.613e-05/0.1654, allocations: 120.2 kB / 449 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.1654, allocations: 16.12 kB / 449 MB, free: 40.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.1655, allocations: 136.8 kB / 449.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1655, allocations: 4 kB / 449.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1655, allocations: 0 / 449.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1655, allocations: 3.938 kB / 449.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.588e-05/0.1656, allocations: 178.2 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1656, allocations: 0 / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/0.1657, allocations: 14.52 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1657, allocations: 0 / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1657, allocations: 2.719 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1657, allocations: 1.312 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1657, allocations: 0.5625 kB / 449.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.1659, allocations: 204.6 kB / 449.5 MB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.1659, allocations: 17.5 kB / 449.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1659, allocations: 6.156 kB / 449.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.756e-05/0.1659, allocations: 6.172 kB / 449.5 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.166, allocations: 8.781 kB / 449.6 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.166, allocations: 6.781 kB / 449.6 MB, free: 40.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.754e-05/0.1661, allocations: 148 kB / 449.7 MB, free: 40.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1661, allocations: 0 / 449.7 MB, free: 40.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001574/0.1662, allocations: 28.41 kB / 449.7 MB, free: 40.07 MB / 410.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.00091/0.1671, allocations: 1.069 MB / 450.8 MB, free: 39.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.1673, allocations: 82.83 kB / 450.9 MB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1673, allocations: 0 / 450.9 MB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.917e-05/0.1673, allocations: 34.97 kB / 450.9 MB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.1675, allocations: 43.27 kB / 451 MB, free: 39.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.1686, allocations: 1.773 MB / 452.7 MB, free: 37.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.545e-05/0.1686, allocations: 102.7 kB / 452.8 MB, free: 37.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.747e-05/0.1687, allocations: 13.5 kB / 452.8 MB, free: 37.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.1687, allocations: 43.67 kB / 452.9 MB, free: 37.83 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1687, allocations: 0 / 452.9 MB, free: 37.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.1865, allocations: 4.699 MB / 457.6 MB, free: 36.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/6.912, allocations: 11.94 kB / 457.6 MB, free: 36.38 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.859404002316296]