Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001604/0.001604, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001673/0.001673, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2255/0.2255, allocations: 44.93 MB / 359.6 MB, free: 6.043 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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",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.00202/0.00202, allocations: 63.91 kB / 0.4939 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3868, allocations: 65.47 MB / 0.5578 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003502/0.3903, allocations: 1.719 MB / 0.5595 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002901/0.3932, allocations: 1.661 MB / 0.5611 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.316e-05/0.3933, allocations: 0 / 0.5611 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.3936, allocations: 39.77 kB / 0.5611 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003901/0.394, allocations: 99.53 kB / 0.5612 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.3942, allocations: 79.67 kB / 0.5613 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.3945, allocations: 119.7 kB / 0.5614 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3946, allocations: 9.969 kB / 0.5614 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.139e-05/0.3947, allocations: 47.78 kB / 0.5615 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.3948, allocations: 51.7 kB / 0.5615 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.3948, allocations: 12 kB / 0.5615 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.395, allocations: 99.94 kB / 0.5616 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.3951, allocations: 23.92 kB / 0.5616 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.981e-05/0.3951, allocations: 35.78 kB / 0.5617 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.3955, allocations: 179.3 kB / 0.5619 GB, free: 3.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3955, allocations: 0 / 0.5619 GB, free: 3.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3955, allocations: 0 / 0.5619 GB, free: 3.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.3955, allocations: 0 / 0.5619 GB, free: 3.336 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006807/0.3962, allocations: 357.4 kB / 0.5622 GB, free: 2.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3962, allocations: 12.03 kB / 0.5622 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.261e-05/0.3963, allocations: 8.188 kB / 0.5622 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.395e-05/0.3963, allocations: 34.73 kB / 0.5622 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.3964, allocations: 12.89 kB / 0.5623 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.3967, allocations: 159.8 kB / 0.5624 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.3967, allocations: 4.125 kB / 0.5624 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.3967, allocations: 8 kB / 0.5624 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.397, allocations: 101.1 kB / 0.5625 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.397, allocations: 3.953 kB / 0.5625 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.397, allocations: 4 kB / 0.5625 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.397, allocations: 0 / 0.5625 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.3971, allocations: 39.91 kB / 0.5626 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.3975, allocations: 263.9 kB / 0.5628 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.3978, allocations: 74.66 kB / 0.5629 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.474e-05/0.3978, allocations: 16.86 kB / 0.5629 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3979, allocations: 7.984 kB / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.398, allocations: 79.39 kB / 0.563 GB, free: 2.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.398, allocations: 0 / 0.563 GB, free: 2.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000669/0.3987, allocations: 221.2 kB / 0.5632 GB, free: 1.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.3988, allocations: 77.11 kB / 0.5633 GB, free: 1.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.399, allocations: 182.1 kB / 0.5634 GB, free: 1.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.399, allocations: 33.7 kB / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.3991, allocations: 100.1 kB / 0.5636 GB, free: 1.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.3991, allocations: 27.75 kB / 0.5636 GB, free: 1.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.3992, allocations: 25.7 kB / 0.5636 GB, free: 1.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3993, allocations: 322.8 kB / 0.5639 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.754e-05/0.3994, allocations: 31.98 kB / 0.564 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.3995, allocations: 68.27 kB / 0.564 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.3997, allocations: 77.67 kB / 0.5641 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3997, allocations: 4 kB / 0.5641 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000235/0.3999, allocations: 121.5 kB / 0.5642 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3999, allocations: 4 kB / 0.5642 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.3999, allocations: 3.984 kB / 0.5642 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4, allocations: 3.938 kB / 0.5642 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.4001, allocations: 19.94 kB / 0.5643 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.4001, allocations: 7.938 kB / 0.5643 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.4001, allocations: 11.98 kB / 0.5643 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.4001, allocations: 8.031 kB / 0.5643 GB, free: 0.6133 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 (11): * Single equations (assignments): 11 * 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.0001205/0.4003, allocations: 117.8 kB / 0.5644 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.4003, allocations: 7.953 kB / 0.5644 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.4007, allocations: 142.3 kB / 0.5645 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4007, allocations: 3.984 kB / 0.5645 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4007, allocations: 4.125 kB / 0.5645 GB, free: 332 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4007, allocations: 4 kB / 0.5645 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000621/0.4013, allocations: 406.3 kB / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4013, allocations: 0 / 0.5649 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.4013, allocations: 16.03 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.4014, allocations: 3.938 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.4014, allocations: 7.984 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4014, allocations: 3.938 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4014, allocations: 480 / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.4017, allocations: 232.3 kB / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.4017, allocations: 15.84 kB / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.4018, allocations: 4 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.053e-05/0.4018, allocations: 4 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.4019, allocations: 7.984 kB / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.4019, allocations: 8 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.402, allocations: 140.1 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.402, allocations: 0 / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003267/0.4024, allocations: 51.86 kB / 0.5654 GB, free: 15.37 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 (11): * Single equations (assignments): 9 * 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.002689/0.4051, allocations: 1.258 MB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.4053, allocations: 83.84 kB / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4053, allocations: 0 / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.69e-05/0.4054, allocations: 39.92 kB / 0.5668 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.4058, allocations: 35.34 kB / 0.5668 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.408, allocations: 1.691 MB / 0.5684 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.4081, allocations: 96.3 kB / 0.5685 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.376e-05/0.4082, allocations: 20.62 kB / 0.5685 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.4083, allocations: 39.42 kB / 0.5686 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4083, allocations: 0 / 0.5686 GB, free: 12.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.4372, allocations: 4.651 MB / 0.5731 GB, free: 7.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.89, allocations: 6.812 kB / 0.5731 GB, free: 7.629 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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: 15.08973020594567]