Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.0008551/0.0008551, 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.00117/0.00117, 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.9086/0.9086, allocations: 177.1 MB / 204.3 MB, free: 5.707 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.2361/0.2361, allocations: 32.8 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.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 439.7 MB, free: 4.184 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.264e-05, allocations: 3.547 kB / 439.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002328/0.002351, allocations: 1.717 MB / 441.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.003537, allocations: 0.9742 MB / 442.4 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.934e-05/0.003616, allocations: 3.938 kB / 442.4 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.003886, allocations: 39.84 kB / 442.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.004176, allocations: 103.4 kB / 442.5 MB, free: 1.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.004353, allocations: 79.66 kB / 442.6 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.004506, allocations: 111.6 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.004599, allocations: 11.98 kB / 442.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.891e-05/0.004678, allocations: 55.89 kB / 442.8 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.822e-05/0.004746, allocations: 27.91 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.004761, allocations: 7.938 kB / 442.8 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.683e-05/0.004838, allocations: 47.86 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.038e-05/0.004899, allocations: 19.92 kB / 442.9 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.004937, allocations: 19.92 kB / 442.9 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.005123, allocations: 131.5 kB / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.005124, allocations: 0 / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005125, allocations: 0 / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.005129, allocations: 0 / 443 MB, free: 0.8164 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.0004186/0.005548, allocations: 361.5 kB / 443.4 MB, free: 444 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.005586, allocations: 12.03 kB / 443.4 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.005615, allocations: 38.69 kB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.005643, allocations: 8.891 kB / 443.4 MB, free: 376 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.00582, allocations: 154.3 kB / 443.6 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.005831, allocations: 8.375 kB / 443.6 MB, free: 184 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.005847, allocations: 384 / 443.6 MB, free: 184 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.005961, allocations: 65.92 kB / 443.6 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.005971, allocations: 0 / 443.6 MB, free: 112 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.005981, allocations: 7.922 kB / 443.6 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.005985, allocations: 0 / 443.6 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.016e-05/0.006035, allocations: 23.98 kB / 443.7 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1968/0.2028, allocations: 261.9 kB / 443.9 MB, free: 46.37 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.203, allocations: 55.81 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.2031, allocations: 21.2 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.2031, allocations: 0 / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.2032, allocations: 74.45 kB / 444.1 MB, free: 46.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.2032, allocations: 0 / 444.1 MB, free: 46.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004475/0.2037, allocations: 183.9 kB / 444.3 MB, free: 46.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.2037, allocations: 54.34 kB / 444.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.2039, allocations: 237.2 kB / 444.5 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.2039, allocations: 29.64 kB / 444.6 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.2039, allocations: 111.7 kB / 444.7 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.2039, allocations: 27.27 kB / 444.7 MB, free: 45.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.204, allocations: 24.08 kB / 444.7 MB, free: 45.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.204, allocations: 328 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-05/0.204, allocations: 25.27 kB / 445.1 MB, free: 45.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.2041, allocations: 36.73 kB / 445.1 MB, free: 45.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.58e-05/0.2042, allocations: 57 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2042, allocations: 2.75 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001164/0.2043, allocations: 119.2 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2043, allocations: 6.719 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2043, allocations: 3.25 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2043, allocations: 0 / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.461e-05/0.2044, allocations: 14.97 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2044, allocations: 6.484 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.2044, allocations: 2.938 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.2044, allocations: 3.938 kB / 445.3 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 6.358e-05/0.2045, allocations: 130.1 kB / 445.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.2045, allocations: 18.19 kB / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.2047, allocations: 133.5 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2047, allocations: 3.062 kB / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2047, allocations: 0 / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2047, allocations: 0 / 445.6 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.205, allocations: 383.4 kB / 446 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.205, allocations: 7.328 kB / 446 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.205, allocations: 12.16 kB / 446 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.205, allocations: 0 / 446 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.205, allocations: 9.219 kB / 446 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.205, allocations: 0 / 446 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.205, allocations: 0 / 446 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.2051, allocations: 214.9 kB / 446.2 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.2051, allocations: 13.38 kB / 446.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.2052, allocations: 6.062 kB / 446.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.959e-05/0.2052, allocations: 3.672 kB / 446.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.2052, allocations: 13.25 kB / 446.2 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.2052, allocations: 6.562 kB / 446.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.053e-05/0.2053, allocations: 177.6 kB / 446.4 MB, free: 44.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2053, allocations: 0 / 446.4 MB, free: 44.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001877/0.2055, allocations: 27.34 kB / 446.5 MB, free: 44.82 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.0009968/0.2065, allocations: 1.139 MB / 447.6 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.2067, allocations: 55.02 kB / 447.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2067, allocations: 0 / 447.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.2067, allocations: 31.09 kB / 447.7 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.0002402/0.2069, allocations: 28.8 kB / 447.7 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.208, allocations: 1.777 MB / 449.5 MB, free: 42.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.513e-05/0.2081, allocations: 94.56 kB / 449.6 MB, free: 42.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.388e-05/0.2081, allocations: 17.66 kB / 449.6 MB, free: 42.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.2082, allocations: 43.14 kB / 449.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.2082, allocations: 0 / 449.6 MB, free: 42.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.2244, allocations: 4.463 MB / 454.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.618/6.842, allocations: 6.047 kB / 454.1 MB, free: 41.12 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.826758014038205]