Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001563/0.001563, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.002304/0.002304, allocations: 212.9 kB / 23.74 MB, free: 4.535 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2187/0.2187, allocations: 44.92 MB / 358.9 MB, free: 6.246 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 67.89 kB / 0.4932 GB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3113, allocations: 65.47 MB / 0.5571 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.004302/0.3156, allocations: 1.752 MB / 0.5588 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.3175, allocations: 1.045 MB / 0.5598 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.3176, allocations: 7.938 kB / 0.5598 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.318, allocations: 51.75 kB / 0.5599 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.3183, allocations: 95.61 kB / 0.56 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.3186, allocations: 83.66 kB / 0.5601 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.3188, allocations: 107.7 kB / 0.5602 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.467e-05/0.3189, allocations: 5.828 kB / 0.5602 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.319, allocations: 55.7 kB / 0.5602 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.565e-05/0.3191, allocations: 35.8 kB / 0.5602 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.3191, allocations: 4 kB / 0.5602 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.3192, allocations: 43.97 kB / 0.5603 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.3193, allocations: 19.92 kB / 0.5603 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.985e-05/0.3194, allocations: 47.67 kB / 0.5604 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.3196, allocations: 143.3 kB / 0.5605 GB, free: 4.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3196, allocations: 0 / 0.5605 GB, free: 4.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3196, allocations: 0 / 0.5605 GB, free: 4.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3196, allocations: 0 / 0.5605 GB, free: 4.23 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006052/0.3202, allocations: 381.3 kB / 0.5609 GB, free: 3.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3203, allocations: 8.031 kB / 0.5609 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.593e-05/0.3203, allocations: 38.73 kB / 0.5609 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.3204, allocations: 16.84 kB / 0.5609 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.3207, allocations: 163.2 kB / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3207, allocations: 384 / 0.5611 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.3207, allocations: 7.938 kB / 0.5611 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.3209, allocations: 57.61 kB / 0.5611 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3209, allocations: 4 kB / 0.5611 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3209, allocations: 0 / 0.5611 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3209, allocations: 0 / 0.5611 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.321, allocations: 19.98 kB / 0.5612 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.3214, allocations: 271.9 kB / 0.5614 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.3215, allocations: 58.61 kB / 0.5615 GB, free: 3.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.3216, allocations: 24.8 kB / 0.5615 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.3216, allocations: 0 / 0.5615 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/0.3218, allocations: 71.39 kB / 0.5616 GB, free: 2.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.246e-06/0.3218, allocations: 3.984 kB / 0.5616 GB, free: 2.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005484/0.3223, allocations: 181.3 kB / 0.5617 GB, free: 2.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.3224, allocations: 51.41 kB / 0.5618 GB, free: 2.742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.3227, allocations: 279.7 kB / 0.5621 GB, free: 2.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.3227, allocations: 33.62 kB / 0.5621 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.3228, allocations: 120.1 kB / 0.5622 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.3228, allocations: 19.8 kB / 0.5622 GB, free: 2.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.3228, allocations: 29.7 kB / 0.5623 GB, free: 2.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.323, allocations: 326.8 kB / 0.5626 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.895e-05/0.323, allocations: 19.98 kB / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.3231, allocations: 37.66 kB / 0.5626 GB, free: 1.852 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.3232, allocations: 65.69 kB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3232, allocations: 0 / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001947/0.3234, allocations: 109.5 kB / 0.5628 GB, free: 1.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3234, allocations: 4 kB / 0.5628 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3234, allocations: 0 / 0.5628 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3235, allocations: 4 kB / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.231e-05/0.3236, allocations: 12.03 kB / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3236, allocations: 4 kB / 0.5628 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.3236, allocations: 15.92 kB / 0.5628 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3236, allocations: 0 / 0.5628 GB, free: 1.629 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0001193/0.3237, allocations: 137.8 kB / 0.563 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.3238, allocations: 15.91 kB / 0.563 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.324, allocations: 115.1 kB / 0.5631 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.324, allocations: 0 / 0.5631 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.324, allocations: 0 / 0.5631 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.324, allocations: 7.938 kB / 0.5631 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.3245, allocations: 378.6 kB / 0.5634 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3245, allocations: 0 / 0.5634 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.3246, allocations: 8 kB / 0.5635 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3246, allocations: 3.938 kB / 0.5635 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3246, allocations: 3.984 kB / 0.5635 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3246, allocations: 11.95 kB / 0.5635 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3246, allocations: 3.984 kB / 0.5635 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.3248, allocations: 208.3 kB / 0.5637 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.3249, allocations: 11.91 kB / 0.5637 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.3249, allocations: 8.312 kB / 0.5637 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.325, allocations: 0 / 0.5637 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.325, allocations: 11.98 kB / 0.5637 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.325, allocations: 8 kB / 0.5637 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001862/0.3252, allocations: 208.8 kB / 0.5639 GB, free: 424 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3252, allocations: 0 / 0.5639 GB, free: 424 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.3255, allocations: 27.88 kB / 0.5639 GB, free: 396 kB / 398.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: 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 (8): * Single equations (assignments): 6 * 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.00221/0.3277, allocations: 1.096 MB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.3278, allocations: 55.92 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3279, allocations: 3.938 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.646e-05/0.3279, allocations: 24.11 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.3283, allocations: 37.61 kB / 0.5651 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.3303, allocations: 1.831 MB / 0.5669 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.3307, allocations: 0.7197 MB / 0.5676 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.462e-05/0.3308, allocations: 16.95 kB / 0.5676 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.3308, allocations: 43.42 kB / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3308, allocations: 0 / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.3597, allocations: 3.979 MB / 0.5716 GB, free: 8.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.6, allocations: 0 / 0.5716 GB, free: 8.699 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.510237900074571]