Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001389/0.001389, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001376/0.001376, allocations: 209.3 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.418/1.418, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2271/0.2271, allocations: 46.96 MB / 360.9 MB, free: 4.047 MB / 286.1 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.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.89 kB / 0.4962 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3223, allocations: 66.03 MB / 0.5607 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003424/0.3257, allocations: 1.898 MB / 0.5625 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.3275, allocations: 1.003 MB / 0.5635 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.3275, allocations: 11.94 kB / 0.5635 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.3278, allocations: 43.7 kB / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.3281, allocations: 99.47 kB / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.3283, allocations: 99.7 kB / 0.5637 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.3286, allocations: 151.5 kB / 0.5639 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3287, allocations: 19.56 kB / 0.5639 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.673e-05/0.3288, allocations: 59.7 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3289, allocations: 51.72 kB / 0.564 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3289, allocations: 4 kB / 0.564 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.621e-05/0.329, allocations: 55.92 kB / 0.5641 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.3291, allocations: 35.89 kB / 0.5641 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.3291, allocations: 39.69 kB / 0.5641 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.3294, allocations: 159.3 kB / 0.5643 GB, free: 488 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.3294, allocations: 0 / 0.5643 GB, free: 488 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3294, allocations: 0 / 0.5643 GB, free: 488 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3294, allocations: 0 / 0.5643 GB, free: 488 kB / 398.1 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.0006305/0.33, allocations: 418.9 kB / 0.5647 GB, free: 32 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.3301, allocations: 12.03 kB / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.758e-05/0.3301, allocations: 38.75 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.3302, allocations: 16.84 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.3305, allocations: 179 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.3305, allocations: 384 / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.3305, allocations: 11.94 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.3307, allocations: 133.9 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3308, allocations: 0 / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3308, allocations: 4 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3308, allocations: 0 / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.3309, allocations: 59.89 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.3315, allocations: 472.1 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.3318, allocations: 90.59 kB / 0.5656 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3319, allocations: 36.84 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.332, allocations: 0 / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.3322, allocations: 109 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.3322, allocations: 4 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004274/0.3326, allocations: 157.4 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.3326, allocations: 51.41 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.3329, allocations: 203.2 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3329, allocations: 25.7 kB / 0.5662 GB, free: 14.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/0.333, allocations: 120.1 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.333, allocations: 32.11 kB / 0.5664 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.333, allocations: 33.7 kB / 0.5664 GB, free: 14.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3332, allocations: 326.8 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.988e-05/0.3333, allocations: 27.98 kB / 0.5667 GB, free: 13.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.3334, allocations: 68.2 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.3336, allocations: 100.2 kB / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3336, allocations: 0 / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002913/0.3339, allocations: 145.4 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3339, allocations: 4 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3339, allocations: 3.938 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3339, allocations: 7.938 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.334, allocations: 23.98 kB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.334, allocations: 4 kB / 0.5671 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.3341, allocations: 15.88 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3341, allocations: 4 kB / 0.5671 GB, free: 13.34 MB / 414.1 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 0.0001141/0.3342, allocations: 137.9 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.3343, allocations: 11.91 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.3346, allocations: 139 kB / 0.5674 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3346, allocations: 3.938 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3346, allocations: 0 / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3346, allocations: 0 / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.3347, allocations: 172.7 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3348, allocations: 0 / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.468e-05/0.3348, allocations: 19.98 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3348, allocations: 4.188 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3349, allocations: 4 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3349, allocations: 7.875 kB / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3349, allocations: 0 / 0.5676 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.3352, allocations: 192.9 kB / 0.5677 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.605e-05/0.3353, allocations: 15.88 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.3353, allocations: 4 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.3354, allocations: 11.92 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.3354, allocations: 7.984 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.3354, allocations: 8.062 kB / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.3356, allocations: 147.2 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3356, allocations: 0 / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.3358, allocations: 24 kB / 0.568 GB, free: 12.36 MB / 414.1 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.002178/0.338, allocations: 1.073 MB / 0.569 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.3383, allocations: 84.02 kB / 0.5691 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3383, allocations: 0 / 0.5691 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.3384, allocations: 43.91 kB / 0.5691 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.3388, allocations: 42.47 kB / 0.5692 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.341, allocations: 1.772 MB / 0.5709 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.792e-05/0.3411, allocations: 109.9 kB / 0.571 GB, free: 9.277 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.573e-05/0.3411, allocations: 17.42 kB / 0.571 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.857e-05/0.3412, allocations: 43.42 kB / 0.5711 GB, free: 9.219 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3412, allocations: 0 / 0.5711 GB, free: 9.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.3747, allocations: 4.573 MB / 0.5755 GB, free: 4.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.24, allocations: 15.42 kB / 0.5755 GB, free: 4.688 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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: 14.196161779022077]