Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.0008534/0.0008534, 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.0008863/0.0008863, 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.8765/0.8765, allocations: 177.1 MB / 204.3 MB, free: 5.703 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.2194/0.2194, allocations: 32.79 MB / 293.5 MB, free: 1.215 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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 439.7 MB, free: 4.148 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.607e-05, allocations: 8.812 kB / 439.7 MB, free: 4.141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002238/0.002264, allocations: 1.712 MB / 441.4 MB, free: 2.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.003276, allocations: 0.978 MB / 442.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.49e-05/0.003341, allocations: 4 kB / 442.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.003586, allocations: 43.75 kB / 442.4 MB, free: 1.379 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002467/0.003833, allocations: 107.5 kB / 442.5 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.003982, allocations: 79.66 kB / 442.6 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.004121, allocations: 111.6 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.338e-05/0.004204, allocations: 8 kB / 442.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.099e-05/0.004275, allocations: 51.89 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.004341, allocations: 23.91 kB / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.004355, allocations: 7.938 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-05/0.004427, allocations: 51.84 kB / 442.8 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.004475, allocations: 23.92 kB / 442.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.004508, allocations: 23.88 kB / 442.9 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.004668, allocations: 139.5 kB / 443 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.004671, allocations: 3.984 kB / 443 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004671, allocations: 0 / 443 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.004675, allocations: 0 / 443 MB, free: 0.7578 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.0004086/0.005083, allocations: 373.2 kB / 443.4 MB, free: 372 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.005117, allocations: 12.03 kB / 443.4 MB, free: 360 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.532e-05/0.005142, allocations: 34.69 kB / 443.4 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.005173, allocations: 20.84 kB / 443.5 MB, free: 296 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.005346, allocations: 158.5 kB / 443.6 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.005356, allocations: 8.375 kB / 443.6 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.005371, allocations: 384 / 443.6 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.005474, allocations: 57.98 kB / 443.7 MB, free: 36 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.005485, allocations: 4 kB / 443.7 MB, free: 32 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.005493, allocations: 4 kB / 443.7 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.005497, allocations: 0 / 443.7 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.852e-05/0.005546, allocations: 19.98 kB / 443.7 MB, free: 8 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1481/0.1536, allocations: 263.8 kB / 444 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.1538, allocations: 60.34 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.1538, allocations: 23.02 kB / 444.1 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.1538, allocations: 0 / 444.1 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.1539, allocations: 67.11 kB / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1539, allocations: 0 / 444.1 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003906/0.1543, allocations: 198.4 kB / 444.3 MB, free: 46.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.1544, allocations: 55.66 kB / 444.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.1545, allocations: 280.2 kB / 444.6 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.1545, allocations: 25.7 kB / 444.7 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.1545, allocations: 113.5 kB / 444.8 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.1546, allocations: 23.81 kB / 444.8 MB, free: 45.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.1546, allocations: 24.28 kB / 444.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.897e-05/0.1546, allocations: 331.5 kB / 445.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.368e-05/0.1546, allocations: 21.81 kB / 445.2 MB, free: 45.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.1547, allocations: 42.09 kB / 445.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.085e-05/0.1547, allocations: 56.72 kB / 445.3 MB, free: 45.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1547, allocations: 0 / 445.3 MB, free: 45.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.888e-05/0.1548, allocations: 118.7 kB / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.1548, allocations: 6.531 kB / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1549, allocations: 0 / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1549, allocations: 5.062 kB / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.105e-05/0.1549, allocations: 15.75 kB / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.1549, allocations: 3.203 kB / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.978e-05/0.155, allocations: 6.047 kB / 445.4 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.155, allocations: 2.875 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.376e-05/0.155, allocations: 145.8 kB / 445.6 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.155, allocations: 21.67 kB / 445.6 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.1552, allocations: 127.9 kB / 445.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1552, allocations: 0 / 445.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1552, allocations: 0 / 445.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1552, allocations: 0 / 445.7 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.1554, allocations: 386 kB / 446.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1554, allocations: 0 / 446.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/0.1554, allocations: 12 kB / 446.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1554, allocations: 2.781 kB / 446.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.1554, allocations: 2.344 kB / 446.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1554, allocations: 4.469 kB / 446.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1554, allocations: 3.141 kB / 446.1 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.48e-05/0.1555, allocations: 214.8 kB / 446.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.1555, allocations: 20 kB / 446.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1555, allocations: 4 kB / 446.3 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.1556, allocations: 2.688 kB / 446.3 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.1556, allocations: 9.797 kB / 446.4 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.1556, allocations: 5.812 kB / 446.4 MB, free: 44.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.146e-05/0.1557, allocations: 213.8 kB / 446.6 MB, free: 44.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1557, allocations: 0 / 446.6 MB, free: 44.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001727/0.1559, allocations: 33.75 kB / 446.6 MB, free: 44.8 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.0008177/0.1567, allocations: 1.146 MB / 447.7 MB, free: 44.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.1568, allocations: 58.48 kB / 447.8 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.1568, allocations: 0 / 447.8 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.703e-05/0.1568, allocations: 29 kB / 447.8 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.1571, allocations: 27.73 kB / 447.9 MB, free: 44.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009734/0.158, allocations: 1.857 MB / 449.7 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.271e-05/0.1581, allocations: 117.2 kB / 449.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.246e-05/0.1581, allocations: 17.23 kB / 449.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.1582, allocations: 47.33 kB / 449.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1582, allocations: 0 / 449.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.1718, allocations: 4.629 MB / 454.5 MB, free: 41.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.74/6.912, allocations: 3.172 kB / 454.5 MB, free: 41.06 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.791572719812393]