Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001834/0.001834, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00247/0.00247, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2282/0.2282, allocations: 46.92 MB / 360.9 MB, free: 4.27 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.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 63.91 kB / 0.4962 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3308, allocations: 66.03 MB / 0.5607 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003714/0.3345, allocations: 1.749 MB / 0.5624 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.3364, allocations: 1.049 MB / 0.5634 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.441e-05/0.3365, allocations: 4 kB / 0.5634 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.3368, allocations: 43.7 kB / 0.5635 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.3371, allocations: 95.59 kB / 0.5636 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.3374, allocations: 79.67 kB / 0.5637 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.3376, allocations: 107.7 kB / 0.5638 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3377, allocations: 9.828 kB / 0.5638 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.3378, allocations: 43.73 kB / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.3379, allocations: 35.84 kB / 0.5638 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.3379, allocations: 7.984 kB / 0.5639 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.3381, allocations: 39.98 kB / 0.5639 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.941e-05/0.3381, allocations: 23.92 kB / 0.5639 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.3382, allocations: 35.69 kB / 0.5639 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.3385, allocations: 115.5 kB / 0.5641 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3385, allocations: 0 / 0.5641 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3385, allocations: 3.938 kB / 0.5641 GB, free: 1.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.515e-06/0.3385, allocations: 4 kB / 0.5641 GB, free: 1.008 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.0005863/0.3391, allocations: 349.6 kB / 0.5644 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.3391, allocations: 12.03 kB / 0.5644 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.3391, allocations: 38.73 kB / 0.5644 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.3392, allocations: 8.891 kB / 0.5645 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.3395, allocations: 154.9 kB / 0.5646 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.3395, allocations: 4.375 kB / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.3395, allocations: 7.938 kB / 0.5646 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.3397, allocations: 53.67 kB / 0.5647 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3397, allocations: 0 / 0.5647 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.3397, allocations: 0 / 0.5647 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3397, allocations: 8 kB / 0.5647 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.386e-05/0.3398, allocations: 15.98 kB / 0.5647 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.3402, allocations: 256 kB / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.3404, allocations: 58.61 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.3405, allocations: 20.86 kB / 0.565 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.3405, allocations: 7.969 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.3407, allocations: 67.39 kB / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.327e-06/0.3407, allocations: 7.922 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005564/0.3412, allocations: 173.4 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.3413, allocations: 59.33 kB / 0.5653 GB, free: 15.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.3415, allocations: 202.2 kB / 0.5655 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3415, allocations: 29.7 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.3416, allocations: 104.1 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.3416, allocations: 27.72 kB / 0.5657 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.3417, allocations: 25.72 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3418, allocations: 322.8 kB / 0.566 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-05/0.3419, allocations: 23.98 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.772e-05/0.3419, allocations: 33.7 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.3421, allocations: 65.77 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3421, allocations: 0 / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002082/0.3423, allocations: 105.5 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3423, allocations: 8 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3423, allocations: 0 / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3423, allocations: 0 / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.3424, allocations: 15.98 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3424, allocations: 7.938 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.953e-05/0.3425, allocations: 7.969 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3425, allocations: 4 kB / 0.5662 GB, free: 14.56 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.0001163/0.3426, allocations: 125.8 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.3426, allocations: 11.91 kB / 0.5664 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.3429, allocations: 115.1 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3429, allocations: 0 / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3429, allocations: 0 / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3429, allocations: 7.875 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.3434, allocations: 362.5 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3434, allocations: 0 / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.3434, allocations: 15.92 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.3434, allocations: 3.938 kB / 0.5669 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3434, allocations: 4 kB / 0.5669 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3434, allocations: 0 / 0.5669 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3434, allocations: 0 / 0.5669 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.3437, allocations: 204.6 kB / 0.5671 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.3437, allocations: 11.89 kB / 0.5671 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.3437, allocations: 12.11 kB / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.3438, allocations: 384 / 0.5671 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.3438, allocations: 15.88 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.3439, allocations: 7.984 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.344, allocations: 144.2 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.344, allocations: 4 kB / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.3443, allocations: 27.92 kB / 0.5673 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.002218/0.3465, allocations: 1.098 MB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.3467, allocations: 55.91 kB / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3467, allocations: 0 / 0.5684 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.259e-05/0.3468, allocations: 31.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.0003556/0.3472, allocations: 24.11 kB / 0.5685 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.3491, allocations: 1.658 MB / 0.5701 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.3495, allocations: 0.7041 MB / 0.5708 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.56e-05/0.3496, allocations: 25.27 kB / 0.5708 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.3496, allocations: 35.42 kB / 0.5708 GB, free: 9.828 MB / 414.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3496, allocations: 0 / 0.5708 GB, free: 9.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.3795, allocations: 3.627 MB / 0.5744 GB, free: 6.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.2, allocations: 11.77 kB / 0.5744 GB, free: 6.258 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.1597843200434]