Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001497/0.001497, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001992/0.001992, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2308/0.2308, allocations: 46.93 MB / 361.6 MB, free: 4.289 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.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.91 kB / 0.497 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3238, allocations: 66.03 MB / 0.5615 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003661/0.3275, allocations: 1.953 MB / 0.5634 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.3297, allocations: 1.092 MB / 0.5644 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.3298, allocations: 3.938 kB / 0.5645 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.3302, allocations: 43.7 kB / 0.5645 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.3306, allocations: 95.53 kB / 0.5646 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.3309, allocations: 95.66 kB / 0.5647 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.3312, allocations: 151.5 kB / 0.5648 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.3313, allocations: 23.56 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.3315, allocations: 63.72 kB / 0.5649 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.3316, allocations: 59.64 kB / 0.565 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.3316, allocations: 4 kB / 0.565 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.3317, allocations: 47.98 kB / 0.565 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.486e-05/0.3318, allocations: 27.86 kB / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.614e-05/0.3319, allocations: 59.59 kB / 0.5651 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.3322, allocations: 151.3 kB / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3322, allocations: 0 / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3322, allocations: 0 / 0.5652 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3322, allocations: 4 kB / 0.5652 GB, free: 0.582 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007548/0.333, allocations: 415 kB / 0.5656 GB, free: 144 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.333, allocations: 8.031 kB / 0.5656 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.627e-05/0.3331, allocations: 4.188 kB / 0.5657 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.3331, allocations: 38.73 kB / 0.5657 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.3331, allocations: 16.84 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.3335, allocations: 171.1 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3335, allocations: 8.125 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.3335, allocations: 12 kB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.3338, allocations: 108.2 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3338, allocations: 3.938 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.3338, allocations: 4 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3338, allocations: 0 / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.334, allocations: 51.91 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006195/0.3346, allocations: 488.1 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.335, allocations: 90.59 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3351, allocations: 40.83 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.3351, allocations: 4 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.3353, allocations: 75.38 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.3353, allocations: 0 / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000459/0.3358, allocations: 153.7 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.3358, allocations: 59.34 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.336, allocations: 199.2 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3361, allocations: 25.8 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.3362, allocations: 120 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.3362, allocations: 31.73 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/0.3363, allocations: 29.7 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3364, allocations: 326.8 kB / 0.5676 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.3365, allocations: 31.98 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3366, allocations: 60.27 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.3368, allocations: 100.2 kB / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3368, allocations: 0 / 0.5678 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002843/0.3371, allocations: 133.4 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3371, allocations: 4 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3372, allocations: 4 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3372, allocations: 3.938 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.3373, allocations: 28.05 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3373, allocations: 4 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.3373, allocations: 19.88 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.3374, allocations: 8 kB / 0.568 GB, free: 13.51 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.0001209/0.3375, allocations: 125.8 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.3375, allocations: 11.91 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.3378, allocations: 130.9 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3378, allocations: 0 / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3378, allocations: 4.188 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.3378, allocations: 7.984 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.338, allocations: 188.5 kB / 0.5684 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.338, allocations: 0 / 0.5684 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/0.3381, allocations: 8 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3381, allocations: 4 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.3381, allocations: 11.92 kB / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3381, allocations: 0 / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3381, allocations: 0 / 0.5685 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.3385, allocations: 180.9 kB / 0.5686 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.3385, allocations: 11.94 kB / 0.5686 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.3386, allocations: 7.938 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.3386, allocations: 11.98 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.3387, allocations: 7.984 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.3387, allocations: 4 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.3388, allocations: 143.2 kB / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3388, allocations: 8.062 kB / 0.5688 GB, free: 12.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.3391, allocations: 23.94 kB / 0.5688 GB, free: 12.56 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 (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.00209/0.3411, allocations: 1.02 MB / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002424/0.3414, allocations: 79.83 kB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3414, allocations: 3.938 kB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.3415, allocations: 35.92 kB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.3418, allocations: 48.11 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.344, allocations: 1.754 MB / 0.5717 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.3443, allocations: 0.7162 MB / 0.5724 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.368e-05/0.3444, allocations: 29.39 kB / 0.5724 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.899e-05/0.3445, allocations: 47.41 kB / 0.5725 GB, free: 8.828 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3445, allocations: 0 / 0.5725 GB, free: 8.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.3693, allocations: 4.042 MB / 0.5764 GB, free: 4.867 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.82, allocations: 15.73 kB / 0.5765 GB, free: 4.855 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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: 15.017004330991767]