Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001615/0.001615, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002361/0.002361, allocations: 213.9 kB / 23.73 MB, free: 4.16 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.537/1.537, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2236/0.2236, allocations: 44.94 MB / 358.8 MB, free: 6.094 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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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.002051/0.002051, allocations: 67.89 kB / 0.4931 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3069, allocations: 65.47 MB / 0.557 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003402/0.3103, allocations: 1.908 MB / 0.5589 GB, free: 5.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.3121, allocations: 1.017 MB / 0.5599 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.543e-05/0.3122, allocations: 0 / 0.5599 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.3125, allocations: 51.64 kB / 0.5599 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003789/0.3129, allocations: 99.53 kB / 0.56 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.3131, allocations: 91.66 kB / 0.5601 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.3134, allocations: 155.5 kB / 0.5602 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3135, allocations: 19.56 kB / 0.5603 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.876e-05/0.3136, allocations: 55.72 kB / 0.5603 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.3137, allocations: 51.7 kB / 0.5604 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.3137, allocations: 8 kB / 0.5604 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.3138, allocations: 47.98 kB / 0.5604 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.97e-05/0.3139, allocations: 27.84 kB / 0.5604 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.314, allocations: 43.73 kB / 0.5605 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.3143, allocations: 159.2 kB / 0.5606 GB, free: 3.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3143, allocations: 0 / 0.5606 GB, free: 3.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3143, allocations: 0 / 0.5606 GB, free: 3.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3143, allocations: 4 kB / 0.5606 GB, free: 3.703 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.0007263/0.315, allocations: 411.1 kB / 0.561 GB, free: 3.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.315, allocations: 8.031 kB / 0.561 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.3151, allocations: 42.73 kB / 0.5611 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.3151, allocations: 16.84 kB / 0.5611 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.3155, allocations: 175 kB / 0.5613 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.3155, allocations: 8.375 kB / 0.5613 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.3155, allocations: 11.94 kB / 0.5613 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.3158, allocations: 133.9 kB / 0.5614 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3158, allocations: 0 / 0.5614 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3158, allocations: 0 / 0.5614 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.3158, allocations: 7.938 kB / 0.5614 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.316, allocations: 43.97 kB / 0.5615 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006444/0.3166, allocations: 484 kB / 0.5619 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.317, allocations: 86.66 kB / 0.562 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3171, allocations: 40.83 kB / 0.562 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3171, allocations: 7.922 kB / 0.5621 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.3173, allocations: 113 kB / 0.5622 GB, free: 1.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.3173, allocations: 0 / 0.5622 GB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004354/0.3177, allocations: 153.4 kB / 0.5623 GB, free: 1.816 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.3178, allocations: 55.41 kB / 0.5624 GB, free: 1.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.318, allocations: 203.1 kB / 0.5626 GB, free: 1.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.318, allocations: 33.7 kB / 0.5626 GB, free: 1.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.3181, allocations: 112.1 kB / 0.5627 GB, free: 1.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.3182, allocations: 35.73 kB / 0.5627 GB, free: 1.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.3182, allocations: 25.72 kB / 0.5628 GB, free: 1.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3184, allocations: 330.8 kB / 0.5631 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.978e-05/0.3185, allocations: 23.98 kB / 0.5631 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.3186, allocations: 72.2 kB / 0.5632 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.3188, allocations: 104.2 kB / 0.5633 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3188, allocations: 0 / 0.5633 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002896/0.3191, allocations: 137.8 kB / 0.5634 GB, free: 0.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3191, allocations: 4 kB / 0.5634 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.3191, allocations: 4 kB / 0.5634 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3191, allocations: 3.938 kB / 0.5634 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.3192, allocations: 36.14 kB / 0.5634 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.3192, allocations: 3.938 kB / 0.5634 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.3193, allocations: 15.89 kB / 0.5635 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.3193, allocations: 4 kB / 0.5635 GB, free: 0.5547 MB / 398.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.0001185/0.3194, allocations: 128 kB / 0.5636 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.3195, allocations: 15.91 kB / 0.5636 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000316/0.3198, allocations: 131 kB / 0.5637 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.3198, allocations: 7.938 kB / 0.5637 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3198, allocations: 0 / 0.5637 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3198, allocations: 4 kB / 0.5637 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.32, allocations: 176.7 kB / 0.5639 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.32, allocations: 0 / 0.5639 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.29e-05/0.3201, allocations: 11.94 kB / 0.5639 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.3201, allocations: 4 kB / 0.5639 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3201, allocations: 3.984 kB / 0.5639 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.3201, allocations: 7.938 kB / 0.5639 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3201, allocations: 0 / 0.5639 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.3206, allocations: 192.9 kB / 0.5641 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.3206, allocations: 23.92 kB / 0.5641 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.3206, allocations: 8 kB / 0.5641 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.3207, allocations: 7.938 kB / 0.5642 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.3207, allocations: 3.984 kB / 0.5642 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.3208, allocations: 4 kB / 0.5642 GB, free: 15.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.3209, allocations: 151.2 kB / 0.5643 GB, free: 15.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3209, allocations: 0 / 0.5643 GB, free: 15.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000248/0.3212, allocations: 24 kB / 0.5643 GB, free: 15.59 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 (10): * Single equations (assignments): 8 * 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.002426/0.3236, allocations: 1.059 MB / 0.5654 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.3239, allocations: 83.77 kB / 0.5654 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3239, allocations: 4 kB / 0.5654 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.324, allocations: 31.98 kB / 0.5655 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.3244, allocations: 53.77 kB / 0.5655 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.3269, allocations: 1.778 MB / 0.5673 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.327, allocations: 101.8 kB / 0.5674 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.223e-05/0.3271, allocations: 25.41 kB / 0.5674 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.762e-05/0.3272, allocations: 43.42 kB / 0.5674 GB, free: 12.45 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3272, allocations: 0 / 0.5674 GB, free: 12.45 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.3586, allocations: 4.551 MB / 0.5719 GB, free: 7.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.61, allocations: 7.109 kB / 0.5719 GB, free: 7.953 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.730565210338682]