Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001729/0.001729, allocations: 114.8 kB / 21.22 MB, free: 0.7305 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.001432/0.001432, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 8 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.2272/0.2272, allocations: 46.94 MB / 361.6 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.Test11,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002958/0.002958, allocations: 63.91 kB / 0.497 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3277, allocations: 66.02 MB / 0.5615 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003537/0.3312, allocations: 1.971 MB / 0.5634 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.3331, allocations: 1.084 MB / 0.5645 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.779e-05/0.3331, allocations: 0 / 0.5645 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.3334, allocations: 51.69 kB / 0.5645 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.3337, allocations: 99.48 kB / 0.5646 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.3339, allocations: 91.66 kB / 0.5647 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.3342, allocations: 155.5 kB / 0.5648 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3343, allocations: 19.72 kB / 0.5649 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.3344, allocations: 63.66 kB / 0.5649 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.3346, allocations: 55.69 kB / 0.565 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.3346, allocations: 8 kB / 0.565 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.3347, allocations: 47.98 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.941e-05/0.3347, allocations: 23.92 kB / 0.565 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.142e-05/0.3348, allocations: 55.61 kB / 0.5651 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.3351, allocations: 159.2 kB / 0.5652 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3351, allocations: 4 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3351, allocations: 0 / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.3351, allocations: 0 / 0.5652 GB, free: 0.5625 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.0006593/0.3358, allocations: 407.1 kB / 0.5656 GB, free: 132 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3358, allocations: 12.03 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.115e-05/0.3358, allocations: 192 / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.3359, allocations: 42.75 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.3359, allocations: 16.84 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.3362, allocations: 171 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.3363, allocations: 12.12 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.3363, allocations: 4 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.3365, allocations: 112.2 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3366, allocations: 7.875 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3366, allocations: 0 / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.3366, allocations: 3.938 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.3367, allocations: 51.95 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.3373, allocations: 496 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.3376, allocations: 74.67 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.819e-05/0.3377, allocations: 44.77 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.3378, allocations: 0 / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.338, allocations: 83.38 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.338, allocations: 0 / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004088/0.3384, allocations: 145.4 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3384, allocations: 51.41 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.3386, allocations: 203.1 kB / 0.5671 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.3387, allocations: 29.7 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.3387, allocations: 112.1 kB / 0.5672 GB, free: 14.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.3388, allocations: 31.75 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.3388, allocations: 33.7 kB / 0.5673 GB, free: 14.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.339, allocations: 326.8 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.3391, allocations: 31.97 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.3392, allocations: 60.22 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.3394, allocations: 100.6 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3394, allocations: 0 / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002774/0.3397, allocations: 145.4 kB / 0.5679 GB, free: 13.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3397, allocations: 8 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3397, allocations: 0 / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3397, allocations: 7.938 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3398, allocations: 23.92 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3398, allocations: 7.984 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.749e-05/0.3399, allocations: 15.89 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.3399, allocations: 4 kB / 0.568 GB, free: 13.5 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.0001128/0.34, allocations: 132.6 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.34, allocations: 15.91 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.3403, allocations: 130.9 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3403, allocations: 0 / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3403, allocations: 0 / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3403, allocations: 4 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.3405, allocations: 180.7 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3405, allocations: 0 / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.86e-05/0.3406, allocations: 23.86 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3406, allocations: 4 kB / 0.5685 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.3406, allocations: 7.938 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3406, allocations: 4 kB / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3406, allocations: 0 / 0.5685 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.341, allocations: 181.2 kB / 0.5686 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.341, allocations: 11.94 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.3411, allocations: 7.875 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.293e-05/0.3411, allocations: 12.06 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.3412, allocations: 7.984 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.3412, allocations: 4 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.3413, allocations: 147.2 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3413, allocations: 0 / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.3416, allocations: 27.94 kB / 0.5689 GB, free: 12.54 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.002092/0.3437, allocations: 1.015 MB / 0.5699 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.3439, allocations: 79.77 kB / 0.5699 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.3439, allocations: 4 kB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.946e-05/0.344, allocations: 32.23 kB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.3444, allocations: 47.59 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.3465, allocations: 1.76 MB / 0.5717 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.3468, allocations: 0.7123 MB / 0.5724 GB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.729e-05/0.3469, allocations: 17.42 kB / 0.5724 GB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.096e-05/0.347, allocations: 47.78 kB / 0.5725 GB, free: 8.82 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.347, allocations: 0 / 0.5725 GB, free: 8.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.3715, allocations: 4.046 MB / 0.5764 GB, free: 4.852 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.76, allocations: 11.19 kB / 0.5764 GB, free: 4.844 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.88564314704854]