Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001433/0.001433, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001439/0.001439, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2194/0.2194, allocations: 44.91 MB / 358.8 MB, free: 6.277 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.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79",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.002137/0.002137, allocations: 67.89 kB / 0.4932 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.311, allocations: 65.46 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003301/0.3143, allocations: 1.941 MB / 0.559 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.3164, allocations: 1.151 MB / 0.5601 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.906e-05/0.3165, allocations: 3.938 kB / 0.5601 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004479/0.317, allocations: 231.3 kB / 0.5603 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.3174, allocations: 211.2 kB / 0.5605 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.3177, allocations: 123.6 kB / 0.5607 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003555/0.3181, allocations: 255.3 kB / 0.5609 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3182, allocations: 23.72 kB / 0.5609 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.3183, allocations: 131.5 kB / 0.5611 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.3186, allocations: 175.4 kB / 0.5612 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.3186, allocations: 8 kB / 0.5612 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.3187, allocations: 63.98 kB / 0.5613 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.3188, allocations: 63.75 kB / 0.5614 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.322e-05/0.3189, allocations: 95.23 kB / 0.5614 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.3192, allocations: 238.8 kB / 0.5617 GB, free: 3.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3193, allocations: 3.984 kB / 0.5617 GB, free: 3.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3193, allocations: 0 / 0.5617 GB, free: 3.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3193, allocations: 3.938 kB / 0.5617 GB, free: 3.043 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007258/0.32, allocations: 0.4964 MB / 0.5622 GB, free: 2.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.32, allocations: 12.03 kB / 0.5622 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.835e-05/0.3201, allocations: 42.67 kB / 0.5622 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.778e-05/0.3201, allocations: 32.75 kB / 0.5622 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.3205, allocations: 230.5 kB / 0.5625 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.3205, allocations: 4.375 kB / 0.5625 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.3205, allocations: 15.92 kB / 0.5625 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.3208, allocations: 111.2 kB / 0.5626 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3208, allocations: 0 / 0.5626 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.3208, allocations: 11.98 kB / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3208, allocations: 0 / 0.5626 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.3209, allocations: 39.97 kB / 0.5626 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005656/0.3215, allocations: 447.8 kB / 0.5631 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.3219, allocations: 117.2 kB / 0.5632 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.322, allocations: 41.77 kB / 0.5632 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.322, allocations: 8 kB / 0.5632 GB, free: 1.312 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.3223, allocations: 121 kB / 0.5633 GB, free: 1.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.3223, allocations: 0 / 0.5633 GB, free: 1.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001334/0.3236, allocations: 0.509 MB / 0.5638 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.3237, allocations: 81.11 kB / 0.5639 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004858/0.3242, allocations: 452.5 kB / 0.5643 GB, free: 108 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3242, allocations: 33.7 kB / 0.5644 GB, free: 68 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.3243, allocations: 152.5 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/0.3244, allocations: 79.41 kB / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/0.3245, allocations: 37.72 kB / 0.5646 GB, free: 15.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.3247, allocations: 350.8 kB / 0.565 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3248, allocations: 55.97 kB / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.325, allocations: 95.34 kB / 0.5651 GB, free: 15.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.3253, allocations: 163.4 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3253, allocations: 0 / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004439/0.3257, allocations: 237.3 kB / 0.5655 GB, free: 14.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3257, allocations: 8 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3257, allocations: 0 / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3258, allocations: 4 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.3259, allocations: 43.97 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.3259, allocations: 3.938 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.439e-05/0.326, allocations: 11.95 kB / 0.5656 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.326, allocations: 8 kB / 0.5656 GB, free: 14.79 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.0001673/0.3262, allocations: 170.3 kB / 0.5657 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.784e-05/0.3263, allocations: 35.75 kB / 0.5658 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000519/0.3268, allocations: 264.8 kB / 0.566 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3268, allocations: 7.938 kB / 0.566 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3268, allocations: 0 / 0.566 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.3268, allocations: 0 / 0.566 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009788/0.3278, allocations: 0.7067 MB / 0.5667 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3278, allocations: 4 kB / 0.5667 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.621e-05/0.3279, allocations: 31.92 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3279, allocations: 0 / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.3279, allocations: 11.98 kB / 0.5668 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/0.3279, allocations: 7.984 kB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3279, allocations: 3.938 kB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/0.3284, allocations: 427.3 kB / 0.5672 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.3284, allocations: 35.7 kB / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.3285, allocations: 4 kB / 0.5672 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.3286, allocations: 19.98 kB / 0.5672 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.3287, allocations: 19.92 kB / 0.5673 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.3287, allocations: 11.98 kB / 0.5673 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003483/0.3291, allocations: 335 kB / 0.5676 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3291, allocations: 0 / 0.5676 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003674/0.3294, allocations: 47.94 kB / 0.5676 GB, free: 12.57 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.002675/0.3321, allocations: 1.371 MB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003735/0.3325, allocations: 155.9 kB / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3325, allocations: 0 / 0.5691 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.3326, allocations: 75.8 kB / 0.5692 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.3332, allocations: 59.78 kB / 0.5693 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.3367, allocations: 2.881 MB / 0.5721 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.3372, allocations: 0.7753 MB / 0.5728 GB, free: 7.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.3373, allocations: 41.91 kB / 0.5729 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.3375, allocations: 107.4 kB / 0.573 GB, free: 7.141 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3375, allocations: 4 kB / 0.573 GB, free: 7.137 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.372, allocations: 6.683 MB / 0.5795 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.95, allocations: 4 kB / 0.5795 GB, free: 0.5352 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.918097342830151]