Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001875/0.001875, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002358/0.002358, allocations: 209.5 kB / 23.73 MB, free: 4.523 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.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.96 MB / 360.9 MB, free: 4.023 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.Test74,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 0.4962 GB, free: 7.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3214, allocations: 66.03 MB / 0.5607 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003428/0.3249, allocations: 1.869 MB / 0.5625 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.3268, allocations: 1.089 MB / 0.5636 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.614e-05/0.3269, allocations: 0 / 0.5636 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005246/0.3274, allocations: 251.3 kB / 0.5638 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004708/0.3278, allocations: 239.1 kB / 0.564 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.3281, allocations: 115.6 kB / 0.5641 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.3285, allocations: 279.3 kB / 0.5644 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3286, allocations: 19.78 kB / 0.5644 GB, free: 344 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.3287, allocations: 135.5 kB / 0.5645 GB, free: 208 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.329, allocations: 207.4 kB / 0.5647 GB, free: 0 / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.329, allocations: 16.05 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.3292, allocations: 63.97 kB / 0.5648 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.3293, allocations: 71.69 kB / 0.5649 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.401e-05/0.3293, allocations: 71.36 kB / 0.565 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.3297, allocations: 254.8 kB / 0.5652 GB, free: 15.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3297, allocations: 4 kB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3297, allocations: 0 / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3297, allocations: 0 / 0.5652 GB, free: 15.52 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007747/0.3305, allocations: 0.5235 MB / 0.5657 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3305, allocations: 8.031 kB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.49e-05/0.3306, allocations: 50.67 kB / 0.5658 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/0.3306, allocations: 32.75 kB / 0.5658 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.331, allocations: 224.9 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.331, allocations: 4.375 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.331, allocations: 11.94 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.3313, allocations: 119.2 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.3313, allocations: 3.984 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3313, allocations: 0 / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3313, allocations: 4 kB / 0.5662 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.3315, allocations: 43.97 kB / 0.5662 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.3321, allocations: 455.9 kB / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.3325, allocations: 121.2 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.3326, allocations: 41.83 kB / 0.5668 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.3326, allocations: 4 kB / 0.5668 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000249/0.3329, allocations: 121 kB / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.3329, allocations: 0 / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001378/0.3343, allocations: 0.5324 MB / 0.5674 GB, free: 13.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.3343, allocations: 85.11 kB / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005422/0.3349, allocations: 0.4938 MB / 0.568 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.3349, allocations: 33.7 kB / 0.568 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.335, allocations: 172.5 kB / 0.5682 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.228e-05/0.3351, allocations: 75.41 kB / 0.5683 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/0.3352, allocations: 37.72 kB / 0.5683 GB, free: 12.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3353, allocations: 350.8 kB / 0.5686 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.3355, allocations: 63.97 kB / 0.5687 GB, free: 11.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.3356, allocations: 91.39 kB / 0.5688 GB, free: 11.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.336, allocations: 163.5 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.336, allocations: 8 kB / 0.5689 GB, free: 11.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004198/0.3364, allocations: 249.1 kB / 0.5692 GB, free: 11.19 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3364, allocations: 4 kB / 0.5692 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3364, allocations: 12.05 kB / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.3364, allocations: 0 / 0.5692 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.3366, allocations: 43.92 kB / 0.5692 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3366, allocations: 0 / 0.5692 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.65e-05/0.3367, allocations: 8 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.3367, allocations: 11.98 kB / 0.5693 GB, free: 11.11 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001671/0.3368, allocations: 174.3 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.3369, allocations: 39.7 kB / 0.5695 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005541/0.3374, allocations: 288.6 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.3375, allocations: 4 kB / 0.5697 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3375, allocations: 3.938 kB / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3375, allocations: 0 / 0.5697 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009833/0.3384, allocations: 0.7146 MB / 0.5704 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3384, allocations: 0 / 0.5704 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.863e-05/0.3385, allocations: 35.92 kB / 0.5705 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3386, allocations: 4 kB / 0.5705 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3386, allocations: 12.31 kB / 0.5705 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3386, allocations: 0 / 0.5705 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.3386, allocations: 11.88 kB / 0.5705 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005361/0.3391, allocations: 443.4 kB / 0.5709 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.3392, allocations: 35.8 kB / 0.571 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.3392, allocations: 8 kB / 0.571 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.3394, allocations: 11.94 kB / 0.571 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.3394, allocations: 15.97 kB / 0.571 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.3394, allocations: 15.98 kB / 0.571 GB, free: 9.215 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004154/0.3399, allocations: 383.1 kB / 0.5714 GB, free: 8.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3399, allocations: 0 / 0.5714 GB, free: 8.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.3402, allocations: 55.92 kB / 0.5714 GB, free: 8.785 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.002773/0.343, allocations: 1.435 MB / 0.5728 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003576/0.3434, allocations: 159.8 kB / 0.573 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3434, allocations: 0 / 0.573 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.3435, allocations: 79.97 kB / 0.5731 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.3441, allocations: 72.69 kB / 0.5731 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.3477, allocations: 3.034 MB / 0.5761 GB, free: 4.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.3479, allocations: 174.3 kB / 0.5763 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.348, allocations: 37.94 kB / 0.5763 GB, free: 3.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.3481, allocations: 107.4 kB / 0.5764 GB, free: 3.777 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3481, allocations: 0 / 0.5764 GB, free: 3.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.3826, allocations: 7.553 MB / 0.5838 GB, free: 12.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.17, allocations: 3.859 kB / 0.5838 GB, free: 12.3 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.195988068007864]