Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.001261/0.001261, allocations: 121.1 kB / 20.44 MB, free: 1.297 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.001578/0.001578, allocations: 210.5 kB / 23.74 MB, free: 4.531 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.419/1.419, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2298/0.2298, allocations: 46.94 MB / 360.9 MB, free: 4.238 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.Test15,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.91 kB / 0.4962 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3296, allocations: 66.04 MB / 0.5607 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003222/0.3329, allocations: 1.748 MB / 0.5624 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.3347, allocations: 1.045 MB / 0.5634 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.515e-05/0.3348, allocations: 3.938 kB / 0.5634 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.3351, allocations: 43.77 kB / 0.5635 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.3354, allocations: 95.55 kB / 0.5636 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.3356, allocations: 75.67 kB / 0.5637 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.3358, allocations: 103.7 kB / 0.5637 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.475e-05/0.3359, allocations: 13.81 kB / 0.5638 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.336, allocations: 55.66 kB / 0.5638 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.848e-05/0.336, allocations: 23.86 kB / 0.5638 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.3361, allocations: 8 kB / 0.5638 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.492e-05/0.3362, allocations: 43.97 kB / 0.5639 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.3362, allocations: 23.92 kB / 0.5639 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.532e-05/0.3363, allocations: 35.73 kB / 0.5639 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.3365, allocations: 119.4 kB / 0.5641 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3365, allocations: 0 / 0.5641 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3365, allocations: 0 / 0.5641 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3365, allocations: 0 / 0.5641 GB, free: 0.9609 MB / 398.1 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.0005732/0.3371, allocations: 341.6 kB / 0.5644 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3371, allocations: 12.03 kB / 0.5644 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/0.3372, allocations: 34.69 kB / 0.5644 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.3372, allocations: 20.84 kB / 0.5644 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.3375, allocations: 146.3 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3375, allocations: 4.375 kB / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.3376, allocations: 11.88 kB / 0.5646 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.3377, allocations: 49.67 kB / 0.5647 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3377, allocations: 0 / 0.5647 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.3377, allocations: 8 kB / 0.5647 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3378, allocations: 4 kB / 0.5647 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.3378, allocations: 19.98 kB / 0.5647 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.3382, allocations: 256 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.3384, allocations: 54.56 kB / 0.565 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.515e-05/0.3385, allocations: 20.84 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.3385, allocations: 4 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.3386, allocations: 67.39 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.497e-06/0.3386, allocations: 3.984 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005249/0.3392, allocations: 185.3 kB / 0.5652 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.3392, allocations: 51.41 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.3394, allocations: 179.2 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.3395, allocations: 29.7 kB / 0.5655 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.3395, allocations: 108.1 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.3396, allocations: 27.78 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.3396, allocations: 21.72 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002465/0.3399, allocations: 326.8 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.047e-05/0.3399, allocations: 23.92 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.736e-05/0.34, allocations: 37.64 kB / 0.566 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.3401, allocations: 57.72 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3401, allocations: 4 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001914/0.3403, allocations: 105.5 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3403, allocations: 4 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.3403, allocations: 0 / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3403, allocations: 4 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.111e-05/0.3404, allocations: 15.98 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3404, allocations: 0 / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.3405, allocations: 19.91 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3405, allocations: 4 kB / 0.5662 GB, free: 14.54 MB / 414.1 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 0.0001041/0.3406, allocations: 121.8 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.3406, allocations: 15.94 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.3408, allocations: 111.2 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3408, allocations: 3.984 kB / 0.5665 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3408, allocations: 0 / 0.5665 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3408, allocations: 7.938 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.3413, allocations: 362.4 kB / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3413, allocations: 384 / 0.5668 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.3413, allocations: 11.94 kB / 0.5668 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3413, allocations: 7.938 kB / 0.5668 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.3413, allocations: 4 kB / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3413, allocations: 0 / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.3413, allocations: 3.984 kB / 0.5668 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.3416, allocations: 200.4 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.3416, allocations: 11.91 kB / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.3416, allocations: 11.94 kB / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.627e-05/0.3417, allocations: 0 / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.3417, allocations: 7.984 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3417, allocations: 4 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.3418, allocations: 137.8 kB / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3418, allocations: 4 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.3421, allocations: 27.94 kB / 0.5672 GB, free: 13.41 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.002233/0.3443, allocations: 1.096 MB / 0.5683 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.3445, allocations: 51.92 kB / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3445, allocations: 4 kB / 0.5684 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.203e-05/0.3446, allocations: 23.92 kB / 0.5684 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.345, allocations: 32.28 kB / 0.5684 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.3471, allocations: 1.642 MB / 0.57 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.3475, allocations: 0.7041 MB / 0.5707 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.849e-05/0.3475, allocations: 20.97 kB / 0.5707 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.3476, allocations: 31.42 kB / 0.5707 GB, free: 9.844 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3476, allocations: 0 / 0.5707 GB, free: 9.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.3788, allocations: 3.568 MB / 0.5742 GB, free: 6.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.18, allocations: 8.047 kB / 0.5742 GB, free: 6.332 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.105863833101466]