Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.001761/0.001761, allocations: 115.6 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.002159/0.002159, allocations: 214.1 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2328/0.2328, allocations: 44.91 MB / 358.8 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 179] 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.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38",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.002241/0.002241, allocations: 63.91 kB / 0.4931 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4061, allocations: 65.47 MB / 0.5571 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003461/0.4096, allocations: 1.716 MB / 0.5588 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.4114, allocations: 1.014 MB / 0.5597 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.4115, allocations: 7.938 kB / 0.5598 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.4118, allocations: 71.72 kB / 0.5598 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.4122, allocations: 99.59 kB / 0.5599 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.4123, allocations: 79.66 kB / 0.56 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.4125, allocations: 107.7 kB / 0.5601 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.4126, allocations: 4.234 kB / 0.5601 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.4127, allocations: 51.78 kB / 0.5601 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.4128, allocations: 51.7 kB / 0.5602 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.4128, allocations: 4 kB / 0.5602 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.073e-05/0.4129, allocations: 27.98 kB / 0.5602 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.413, allocations: 23.92 kB / 0.5603 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.413, allocations: 35.78 kB / 0.5603 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.4132, allocations: 101.4 kB / 0.5604 GB, free: 4.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4132, allocations: 0 / 0.5604 GB, free: 4.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4132, allocations: 0 / 0.5604 GB, free: 4.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.4132, allocations: 3.938 kB / 0.5604 GB, free: 4.363 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005418/0.4138, allocations: 345.6 kB / 0.5607 GB, free: 3.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.4138, allocations: 8.031 kB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.4139, allocations: 30.75 kB / 0.5608 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.4139, allocations: 20.84 kB / 0.5608 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.4142, allocations: 151 kB / 0.5609 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.4142, allocations: 4.375 kB / 0.5609 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.4142, allocations: 3.938 kB / 0.5609 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.4143, allocations: 45.67 kB / 0.561 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4144, allocations: 4 kB / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.4144, allocations: 0 / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.4144, allocations: 0 / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.763e-05/0.4144, allocations: 19.92 kB / 0.561 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.4146, allocations: 156.7 kB / 0.5611 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.4148, allocations: 58.55 kB / 0.5612 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.4149, allocations: 16.86 kB / 0.5612 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.4149, allocations: 0 / 0.5612 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.415, allocations: 67.33 kB / 0.5613 GB, free: 3.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.415, allocations: 0 / 0.5613 GB, free: 3.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002859/0.4153, allocations: 97.61 kB / 0.5614 GB, free: 3.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.4154, allocations: 51.41 kB / 0.5614 GB, free: 3.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.4156, allocations: 198.3 kB / 0.5616 GB, free: 2.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.4156, allocations: 29.64 kB / 0.5616 GB, free: 2.914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.4157, allocations: 96.14 kB / 0.5617 GB, free: 2.816 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.4157, allocations: 31.75 kB / 0.5618 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.4157, allocations: 21.72 kB / 0.5618 GB, free: 2.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.4159, allocations: 322.8 kB / 0.5621 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.158e-05/0.4159, allocations: 15.98 kB / 0.5621 GB, free: 2.418 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.729e-05/0.416, allocations: 25.72 kB / 0.5621 GB, free: 2.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.842e-05/0.4161, allocations: 45.64 kB / 0.5622 GB, free: 2.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4161, allocations: 3.938 kB / 0.5622 GB, free: 2.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.4163, allocations: 89.53 kB / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.4163, allocations: 8 kB / 0.5623 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4163, allocations: 3.984 kB / 0.5623 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.4163, allocations: 0 / 0.5623 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.4164, allocations: 8 kB / 0.5623 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4164, allocations: 320 / 0.5623 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.4164, allocations: 4 kB / 0.5623 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.4164, allocations: 8 kB / 0.5623 GB, free: 2.207 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 (7): * Single equations (assignments): 7 * 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.0001104/0.4165, allocations: 129.8 kB / 0.5624 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.4166, allocations: 7.953 kB / 0.5624 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.4168, allocations: 94.7 kB / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4168, allocations: 0 / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4168, allocations: 0 / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.4168, allocations: 3.984 kB / 0.5625 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.4169, allocations: 160.6 kB / 0.5627 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4169, allocations: 4 kB / 0.5627 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.779e-05/0.4169, allocations: 0 / 0.5627 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4169, allocations: 3.984 kB / 0.5627 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.417, allocations: 8 kB / 0.5627 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.417, allocations: 3.984 kB / 0.5627 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.417, allocations: 0 / 0.5627 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.4171, allocations: 105 kB / 0.5628 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.4172, allocations: 15.94 kB / 0.5628 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.4172, allocations: 0 / 0.5628 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.642e-05/0.4172, allocations: 4 kB / 0.5628 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.666e-05/0.4173, allocations: 0 / 0.5628 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.4173, allocations: 11.98 kB / 0.5628 GB, free: 1.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.4174, allocations: 148.2 kB / 0.563 GB, free: 1.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4174, allocations: 0 / 0.563 GB, free: 1.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000215/0.4176, allocations: 23.92 kB / 0.563 GB, free: 1.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001914/0.4195, allocations: 0.953 MB / 0.5639 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.4197, allocations: 39.92 kB / 0.564 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4197, allocations: 0 / 0.564 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.106e-05/0.4197, allocations: 19.98 kB / 0.564 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.42, allocations: 35.41 kB / 0.564 GB, free: 0.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.4217, allocations: 1.502 MB / 0.5655 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.4221, allocations: 0.708 MB / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.919e-05/0.4222, allocations: 20.67 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.514e-05/0.4223, allocations: 31.42 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4223, allocations: 0 / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.453, allocations: 3.309 MB / 0.5694 GB, free: 10.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.42, allocations: 6.969 kB / 0.5694 GB, free: 10.88 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.539177282946184]