Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001236/0.001236, 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.001381/0.001381, allocations: 208.1 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2329/0.2329, 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.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 72.12 kB / 0.4962 GB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3272, allocations: 66.03 MB / 0.5607 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003357/0.3305, allocations: 1.737 MB / 0.5624 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.3324, allocations: 0.9714 MB / 0.5633 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.3325, allocations: 4 kB / 0.5633 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.3328, allocations: 87.69 kB / 0.5634 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.3331, allocations: 123.6 kB / 0.5635 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.3333, allocations: 83.66 kB / 0.5636 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.3335, allocations: 123.6 kB / 0.5637 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3336, allocations: 17.8 kB / 0.5637 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.3337, allocations: 51.78 kB / 0.5638 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.3339, allocations: 71.8 kB / 0.5638 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3339, allocations: 7.938 kB / 0.5638 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.334, allocations: 67.95 kB / 0.5639 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.3341, allocations: 19.92 kB / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.116e-05/0.3341, allocations: 39.69 kB / 0.564 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.3344, allocations: 151.4 kB / 0.5641 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3344, allocations: 0 / 0.5641 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3344, allocations: 0 / 0.5641 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3344, allocations: 0 / 0.5641 GB, free: 0.6914 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005656/0.3349, allocations: 369.3 kB / 0.5645 GB, free: 308 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.335, allocations: 8.031 kB / 0.5645 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.173e-05/0.335, allocations: 38.75 kB / 0.5645 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.3351, allocations: 12.84 kB / 0.5645 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.3354, allocations: 170.9 kB / 0.5647 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.3354, allocations: 8.375 kB / 0.5647 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.3354, allocations: 7.938 kB / 0.5647 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.3356, allocations: 57.77 kB / 0.5648 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3356, allocations: 0 / 0.5648 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3356, allocations: 0 / 0.5648 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.3356, allocations: 0 / 0.5648 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.547e-05/0.3357, allocations: 35.95 kB / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.3362, allocations: 267.8 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.3364, allocations: 58.55 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.241e-05/0.3365, allocations: 24.98 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.3365, allocations: 0 / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002031/0.3367, allocations: 75.44 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.3367, allocations: 4 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009047/0.3376, allocations: 253.1 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.3377, allocations: 55.34 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.338, allocations: 242.8 kB / 0.5657 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.338, allocations: 29.7 kB / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.154e-05/0.3381, allocations: 116.1 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.3381, allocations: 35.73 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.3382, allocations: 29.7 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3384, allocations: 326.8 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.832e-05/0.3385, allocations: 27.98 kB / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.941e-05/0.3386, allocations: 49.2 kB / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.3387, allocations: 81.64 kB / 0.5664 GB, free: 14.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3387, allocations: 0 / 0.5664 GB, free: 14.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002524/0.339, allocations: 133.5 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.339, allocations: 8 kB / 0.5665 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.339, allocations: 4 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.339, allocations: 0 / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.543e-05/0.3391, allocations: 31.86 kB / 0.5666 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3391, allocations: 0 / 0.5666 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.3392, allocations: 4 kB / 0.5666 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-06/0.3392, allocations: 4 kB / 0.5666 GB, free: 13.96 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 (13): * Single equations (assignments): 13 * 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.0001431/0.3393, allocations: 136.6 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.3393, allocations: 11.91 kB / 0.5667 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/0.3397, allocations: 171.6 kB / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3397, allocations: 3.938 kB / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3397, allocations: 0 / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3397, allocations: 0 / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006134/0.3403, allocations: 427.1 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3403, allocations: 0 / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/0.3404, allocations: 19.98 kB / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3404, allocations: 0 / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3404, allocations: 4 kB / 0.5673 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3404, allocations: 4.062 kB / 0.5673 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3404, allocations: 0 / 0.5673 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.3407, allocations: 249.3 kB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.3408, allocations: 19.91 kB / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.3408, allocations: 96 / 0.5676 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/0.3409, allocations: 11.92 kB / 0.5676 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.3409, allocations: 11.98 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3409, allocations: 4 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.3411, allocations: 179.2 kB / 0.5678 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3411, allocations: 0 / 0.5678 GB, free: 12.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.3414, allocations: 31.94 kB / 0.5678 GB, free: 12.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002608/0.344, allocations: 1.228 MB / 0.569 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.3443, allocations: 79.89 kB / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3443, allocations: 0 / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.979e-05/0.3444, allocations: 39.92 kB / 0.5691 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.3447, allocations: 38.8 kB / 0.5691 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.347, allocations: 1.866 MB / 0.571 GB, free: 9.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.3471, allocations: 105.8 kB / 0.5711 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.931e-05/0.3472, allocations: 24.62 kB / 0.5711 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.001e-05/0.3472, allocations: 43.42 kB / 0.5711 GB, free: 9.293 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3472, allocations: 0 / 0.5711 GB, free: 9.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.3785, allocations: 4.661 MB / 0.5757 GB, free: 4.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.13, allocations: 11.08 kB / 0.5757 GB, free: 4.688 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.09500650697737]