Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001309/0.001309, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.00218/0.00218, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.495/1.495, 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.2194/0.2194, allocations: 46.93 MB / 360.9 MB, free: 4.273 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.Test75,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 67.88 kB / 0.4962 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3186, allocations: 66.04 MB / 0.5607 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00461/0.3232, allocations: 1.935 MB / 0.5626 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002843/0.326, allocations: 1.159 MB / 0.5637 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.3261, allocations: 4 kB / 0.5637 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.3268, allocations: 219.4 kB / 0.564 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006374/0.3274, allocations: 219.2 kB / 0.5642 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.3279, allocations: 119.6 kB / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.3282, allocations: 259.3 kB / 0.5645 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3284, allocations: 27.77 kB / 0.5646 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.3285, allocations: 127.5 kB / 0.5647 GB, free: 388 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.3288, allocations: 175.4 kB / 0.5648 GB, free: 212 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.3288, allocations: 12 kB / 0.5649 GB, free: 200 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.3289, allocations: 63.97 kB / 0.5649 GB, free: 136 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.642e-05/0.329, allocations: 59.77 kB / 0.565 GB, free: 76 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.3291, allocations: 95.3 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.3295, allocations: 242.7 kB / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3295, allocations: 0 / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3295, allocations: 0 / 0.5653 GB, free: 15.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.3295, allocations: 0 / 0.5653 GB, free: 15.74 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.0007293/0.3302, allocations: 0.5003 MB / 0.5658 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3303, allocations: 12.03 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.3303, allocations: 42.69 kB / 0.5658 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/0.3304, allocations: 32.73 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.3307, allocations: 226.5 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.3307, allocations: 8.375 kB / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.3308, allocations: 7.938 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.331, allocations: 115.2 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.331, allocations: 4 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.331, allocations: 4 kB / 0.5662 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.331, allocations: 3.984 kB / 0.5662 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.3312, allocations: 47.97 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.3317, allocations: 447.9 kB / 0.5667 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.3321, allocations: 117.2 kB / 0.5668 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.3322, allocations: 45.77 kB / 0.5668 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3322, allocations: 0 / 0.5668 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.3325, allocations: 121.1 kB / 0.567 GB, free: 13.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.3325, allocations: 0 / 0.567 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001262/0.3337, allocations: 0.5084 MB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.3338, allocations: 81.05 kB / 0.5675 GB, free: 13.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.3343, allocations: 452.5 kB / 0.568 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.3343, allocations: 29.7 kB / 0.568 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.3344, allocations: 160.5 kB / 0.5682 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.656e-05/0.3345, allocations: 71.42 kB / 0.5682 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/0.3345, allocations: 41.7 kB / 0.5683 GB, free: 12.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3347, allocations: 350.8 kB / 0.5686 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.3348, allocations: 51.97 kB / 0.5686 GB, free: 12.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.335, allocations: 95.34 kB / 0.5687 GB, free: 11.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.3352, allocations: 167.4 kB / 0.5689 GB, free: 11.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3352, allocations: 0 / 0.5689 GB, free: 11.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003878/0.3356, allocations: 233.2 kB / 0.5691 GB, free: 11.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3356, allocations: 8 kB / 0.5691 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.3357, allocations: 4.062 kB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3357, allocations: 0 / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.3358, allocations: 47.97 kB / 0.5692 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.3358, allocations: 7.938 kB / 0.5692 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.3359, allocations: 11.95 kB / 0.5692 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.3359, allocations: 4 kB / 0.5692 GB, free: 11.48 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.0001603/0.3361, allocations: 170.3 kB / 0.5694 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.3361, allocations: 35.75 kB / 0.5694 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/0.3366, allocations: 277.2 kB / 0.5697 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3366, allocations: 4 kB / 0.5697 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3366, allocations: 0 / 0.5697 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.331e-06/0.3367, allocations: 4 kB / 0.5697 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009103/0.3376, allocations: 0.7067 MB / 0.5704 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.3376, allocations: 0 / 0.5704 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/0.3377, allocations: 31.92 kB / 0.5704 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.3377, allocations: 4 kB / 0.5704 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3377, allocations: 11.98 kB / 0.5704 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3377, allocations: 192 / 0.5704 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.3377, allocations: 7.938 kB / 0.5704 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005265/0.3382, allocations: 423.2 kB / 0.5708 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.3383, allocations: 35.75 kB / 0.5708 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.3383, allocations: 8 kB / 0.5709 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3384, allocations: 8 kB / 0.5709 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.3385, allocations: 23.91 kB / 0.5709 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.3385, allocations: 15.98 kB / 0.5709 GB, free: 9.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003342/0.3388, allocations: 335 kB / 0.5712 GB, free: 9.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3388, allocations: 0 / 0.5712 GB, free: 9.305 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004606/0.3393, allocations: 47.94 kB / 0.5713 GB, free: 9.258 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 (22): * Single equations (assignments): 18 * 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.002638/0.3419, allocations: 1.373 MB / 0.5726 GB, free: 8.062 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.3423, allocations: 147.8 kB / 0.5727 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3423, allocations: 4 kB / 0.5727 GB, free: 7.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.3424, allocations: 71.78 kB / 0.5728 GB, free: 7.844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.343, allocations: 72.3 kB / 0.5729 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.3465, allocations: 2.881 MB / 0.5757 GB, free: 4.781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.3469, allocations: 0.7752 MB / 0.5765 GB, free: 3.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.347, allocations: 45.91 kB / 0.5765 GB, free: 3.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.3472, allocations: 95.41 kB / 0.5766 GB, free: 3.84 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3472, allocations: 0 / 0.5766 GB, free: 3.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03519/0.3823, allocations: 6.681 MB / 0.5831 GB, free: 13.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.48, allocations: 0 / 0.5831 GB, free: 13.23 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.535290778847411]