Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.00132/0.00132, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001435/0.001435, allocations: 210.7 kB / 23.72 MB, free: 4.391 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.427/1.427, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2269/0.2269, allocations: 46.96 MB / 360.9 MB, free: 4.035 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.Test41,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 67.89 kB / 0.4962 GB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.304, allocations: 66.04 MB / 0.5607 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003363/0.3074, allocations: 1.71 MB / 0.5623 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.3091, allocations: 0.9668 MB / 0.5633 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.3092, allocations: 3.938 kB / 0.5633 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.3095, allocations: 91.69 kB / 0.5634 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.3098, allocations: 115.6 kB / 0.5635 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.31, allocations: 79.67 kB / 0.5636 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.3102, allocations: 111.7 kB / 0.5637 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.675e-05/0.3103, allocations: 17.75 kB / 0.5637 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.569e-05/0.3104, allocations: 55.77 kB / 0.5637 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.3105, allocations: 63.73 kB / 0.5638 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.3105, allocations: 4 kB / 0.5638 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.3106, allocations: 47.98 kB / 0.5638 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.487e-05/0.3107, allocations: 23.92 kB / 0.5639 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.3108, allocations: 27.81 kB / 0.5639 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.311, allocations: 131.3 kB / 0.564 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.311, allocations: 0 / 0.564 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.311, allocations: 4 kB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.311, allocations: 0 / 0.564 GB, free: 0.7461 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.0006207/0.3116, allocations: 349.5 kB / 0.5643 GB, free: 384 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3117, allocations: 8.031 kB / 0.5644 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.3117, allocations: 38.75 kB / 0.5644 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.3118, allocations: 16.78 kB / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.312, allocations: 154.3 kB / 0.5646 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.312, allocations: 384 / 0.5646 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.3121, allocations: 11.94 kB / 0.5646 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3122, allocations: 61.59 kB / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3122, allocations: 0 / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3122, allocations: 4 kB / 0.5646 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3123, allocations: 0 / 0.5646 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.823e-05/0.3124, allocations: 19.98 kB / 0.5647 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004316/0.3128, allocations: 263.9 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.313, allocations: 66.61 kB / 0.565 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.313, allocations: 20.84 kB / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.313, allocations: 0 / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.3132, allocations: 71.39 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3132, allocations: 0 / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005477/0.3137, allocations: 181.3 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.3138, allocations: 55.41 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.314, allocations: 231.4 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3141, allocations: 25.7 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.3141, allocations: 116.1 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.3142, allocations: 27.78 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.3142, allocations: 17.72 kB / 0.5657 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3143, allocations: 326.8 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.3144, allocations: 23.92 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.439e-05/0.3145, allocations: 45.64 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.3146, allocations: 61.69 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3146, allocations: 0 / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000204/0.3148, allocations: 109.5 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3148, allocations: 7.984 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3148, allocations: 0 / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3148, allocations: 4 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.3149, allocations: 12 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3149, allocations: 0 / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.315, allocations: 11.92 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.315, allocations: 4 kB / 0.5663 GB, free: 14.23 MB / 414.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.0001126/0.3151, allocations: 130.2 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.3151, allocations: 15.91 kB / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.3154, allocations: 131 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3154, allocations: 4 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3154, allocations: 0 / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3154, allocations: 3.938 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.3159, allocations: 370.6 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3159, allocations: 0 / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.3159, allocations: 8 kB / 0.5669 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.316, allocations: 15.91 kB / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.316, allocations: 4 kB / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.316, allocations: 32 / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.316, allocations: 8 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.3162, allocations: 212.5 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.3163, allocations: 11.91 kB / 0.5671 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.3163, allocations: 12.39 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.3164, allocations: 7.938 kB / 0.5672 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.3164, allocations: 3.984 kB / 0.5672 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.3164, allocations: 8 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001607/0.3166, allocations: 177.1 kB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3166, allocations: 0 / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.3168, allocations: 27.92 kB / 0.5674 GB, free: 13.01 MB / 414.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 (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.002345/0.3192, allocations: 1.133 MB / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.3194, allocations: 63.91 kB / 0.5685 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3194, allocations: 4.062 kB / 0.5685 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.246e-05/0.3195, allocations: 35.92 kB / 0.5686 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.32, allocations: 35.84 kB / 0.5686 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.3221, allocations: 1.719 MB / 0.5703 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.3222, allocations: 100.7 kB / 0.5704 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.985e-05/0.3223, allocations: 25.27 kB / 0.5704 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.3223, allocations: 35.42 kB / 0.5704 GB, free: 9.953 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3223, allocations: 4 kB / 0.5704 GB, free: 9.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.3519, allocations: 4.242 MB / 0.5746 GB, free: 5.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.4, allocations: 10.89 kB / 0.5746 GB, free: 5.762 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.341756033245474]