Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001328/0.001328, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002084/0.002084, allocations: 209.6 kB / 23.73 MB, free: 4.387 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.252/0.252, allocations: 46.97 MB / 360.9 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 179] 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.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 63.91 kB / 0.4962 GB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3224, allocations: 66.03 MB / 0.5606 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003494/0.3259, allocations: 1.795 MB / 0.5624 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002826/0.3287, allocations: 1.727 MB / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.99e-05/0.3288, allocations: 0 / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.3291, allocations: 59.62 kB / 0.5641 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004277/0.3295, allocations: 135.4 kB / 0.5643 GB, free: 464 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.3298, allocations: 115.7 kB / 0.5644 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.33, allocations: 207.3 kB / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.406e-05/0.3301, allocations: 5.812 kB / 0.5646 GB, free: 132 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.3302, allocations: 87.62 kB / 0.5647 GB, free: 44 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.3304, allocations: 75.56 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.3305, allocations: 12 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.3307, allocations: 107.9 kB / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.3307, allocations: 35.86 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.154e-05/0.3308, allocations: 55.59 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.3312, allocations: 228.9 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.3312, allocations: 7.984 kB / 0.5652 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.3312, allocations: 4 kB / 0.5652 GB, free: 15.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.3312, allocations: 0 / 0.5652 GB, free: 15.53 MB / 414.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.0007429/0.3319, allocations: 420.9 kB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.332, allocations: 12.03 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/0.332, allocations: 38.73 kB / 0.5656 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.3321, allocations: 20.78 kB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.3324, allocations: 186.2 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3324, allocations: 4.375 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.3325, allocations: 7.938 kB / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.3328, allocations: 156.4 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3328, allocations: 3.984 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3328, allocations: 4 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3328, allocations: 0 / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.333, allocations: 35.92 kB / 0.566 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.3333, allocations: 177.7 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.3336, allocations: 113.1 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.3337, allocations: 41.7 kB / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.3337, allocations: 0 / 0.5663 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/0.334, allocations: 125 kB / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.334, allocations: 0 / 0.5665 GB, free: 14.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005153/0.3345, allocations: 177.4 kB / 0.5666 GB, free: 13.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.894e-05/0.3346, allocations: 132.5 kB / 0.5668 GB, free: 13.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.3349, allocations: 248.1 kB / 0.567 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.3349, allocations: 25.7 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.335, allocations: 124.1 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.3351, allocations: 31.73 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.333e-05/0.3352, allocations: 29.72 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.3354, allocations: 330.8 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.166e-05/0.3355, allocations: 27.98 kB / 0.5675 GB, free: 12.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.3356, allocations: 132.5 kB / 0.5677 GB, free: 12.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.3358, allocations: 87.41 kB / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.3358, allocations: 7.938 kB / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003053/0.3361, allocations: 141.5 kB / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3362, allocations: 11.98 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.3362, allocations: 0.625 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3362, allocations: 0 / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.3363, allocations: 20 kB / 0.5679 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.3363, allocations: 3.984 kB / 0.5679 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.282e-05/0.3364, allocations: 11.95 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.3364, allocations: 15.94 kB / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.000144/0.3366, allocations: 138.3 kB / 0.5681 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.3366, allocations: 19.91 kB / 0.5681 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.337, allocations: 162.7 kB / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.337, allocations: 0 / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.337, allocations: 0 / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.337, allocations: 0 / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.3372, allocations: 196.5 kB / 0.5684 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3372, allocations: 0 / 0.5684 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.3373, allocations: 11.98 kB / 0.5684 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3373, allocations: 3.938 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.3373, allocations: 8 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3373, allocations: 0 / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3373, allocations: 0 / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.3377, allocations: 189.7 kB / 0.5686 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.3377, allocations: 19.86 kB / 0.5687 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.3378, allocations: 7.984 kB / 0.5687 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.3378, allocations: 7.938 kB / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.3379, allocations: 7.984 kB / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.3379, allocations: 12 kB / 0.5687 GB, free: 11.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.3381, allocations: 185.8 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3381, allocations: 0 / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.3384, allocations: 59.86 kB / 0.5689 GB, free: 11.29 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002519/0.3409, allocations: 1.155 MB / 0.5701 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003412/0.3413, allocations: 83.89 kB / 0.5701 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3413, allocations: 0 / 0.5701 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3414, allocations: 43.91 kB / 0.5702 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.3418, allocations: 56.14 kB / 0.5702 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.3446, allocations: 1.923 MB / 0.5721 GB, free: 8.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.3447, allocations: 107.4 kB / 0.5722 GB, free: 8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000127/0.3448, allocations: 41.94 kB / 0.5723 GB, free: 7.961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.3449, allocations: 55.41 kB / 0.5723 GB, free: 7.906 MB / 414.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3449, allocations: 0 / 0.5723 GB, free: 7.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03729/0.3822, allocations: 6.225 MB / 0.5784 GB, free: 1.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.75, allocations: 14.44 kB / 0.5784 GB, free: 1.734 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.834444845095277]