Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001282, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 214 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2513/0.2513, allocations: 46.91 MB / 360.8 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002489/0.002489, allocations: 72.16 kB / 0.4963 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4085, allocations: 66.08 MB / 0.5608 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003407/0.4119, allocations: 1.768 MB / 0.5625 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.4139, allocations: 1.056 MB / 0.5636 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.414, allocations: 0 / 0.5636 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.4144, allocations: 83.7 kB / 0.5636 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003351/0.4147, allocations: 119.5 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.4149, allocations: 79.72 kB / 0.5638 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.4152, allocations: 123.6 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.4153, allocations: 21.8 kB / 0.564 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.4154, allocations: 51.78 kB / 0.564 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.4155, allocations: 71.73 kB / 0.5641 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.4155, allocations: 4 kB / 0.5641 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.4157, allocations: 55.97 kB / 0.5641 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.4157, allocations: 31.86 kB / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/0.4158, allocations: 35.73 kB / 0.5642 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.416, allocations: 143.4 kB / 0.5643 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.416, allocations: 4 kB / 0.5643 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.416, allocations: 0 / 0.5643 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.416, allocations: 0 / 0.5643 GB, free: 0.6133 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005727/0.4166, allocations: 369.3 kB / 0.5647 GB, free: 228 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.4167, allocations: 12.03 kB / 0.5647 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.4167, allocations: 34.75 kB / 0.5647 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.4167, allocations: 24.77 kB / 0.5648 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.417, allocations: 147.5 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.4171, allocations: 4.375 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.4171, allocations: 4.375 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.4172, allocations: 72.56 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.4173, allocations: 0 / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.4173, allocations: 0 / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4173, allocations: 0 / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.83e-05/0.4174, allocations: 27.91 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.4178, allocations: 275.9 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.418, allocations: 58.55 kB / 0.5653 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.262e-05/0.4181, allocations: 24.97 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.4181, allocations: 0 / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.4183, allocations: 75.28 kB / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4183, allocations: 0 / 0.5654 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007865/0.419, allocations: 249.2 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.4191, allocations: 59.41 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.4193, allocations: 219.5 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.4194, allocations: 25.7 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.4194, allocations: 116 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.4195, allocations: 35.73 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.4195, allocations: 21.72 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4197, allocations: 326.8 kB / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.4197, allocations: 27.98 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-05/0.4198, allocations: 52.95 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.42, allocations: 81.64 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.42, allocations: 0 / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002343/0.4202, allocations: 137.5 kB / 0.5667 GB, free: 13.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.4202, allocations: 4 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4202, allocations: 3.938 kB / 0.5667 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.4203, allocations: 8.031 kB / 0.5667 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/0.4203, allocations: 19.98 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.4203, allocations: 0 / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.4204, allocations: 8 kB / 0.5668 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.4204, allocations: 4 kB / 0.5668 GB, free: 13.92 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 (13): * Single equations (assignments): 13 * 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.0001225/0.4205, allocations: 143 kB / 0.5669 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.4206, allocations: 11.91 kB / 0.5669 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.4209, allocations: 151.6 kB / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4209, allocations: 4 kB / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4209, allocations: 0 / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4209, allocations: 0 / 0.5671 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005513/0.4214, allocations: 423.1 kB / 0.5675 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4214, allocations: 3.984 kB / 0.5675 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.4215, allocations: 16 kB / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4215, allocations: 0 / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.4215, allocations: 4 kB / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.4215, allocations: 4.062 kB / 0.5675 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4215, allocations: 7.938 kB / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.4218, allocations: 233.1 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.35e-05/0.4218, allocations: 11.91 kB / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.4218, allocations: 4 kB / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.4219, allocations: 11.98 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.4219, allocations: 7.938 kB / 0.5678 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.422, allocations: 12.08 kB / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.4221, allocations: 165.1 kB / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4221, allocations: 0 / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.4224, allocations: 35.92 kB / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.00245/0.4248, allocations: 1.162 MB / 0.5691 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.4251, allocations: 75.84 kB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4251, allocations: 0 / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.507e-05/0.4251, allocations: 36.11 kB / 0.5692 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.4255, allocations: 43.08 kB / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.4278, allocations: 1.825 MB / 0.571 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.4282, allocations: 0.7158 MB / 0.5717 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.717e-05/0.4282, allocations: 24.62 kB / 0.5717 GB, free: 8.758 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.549e-05/0.4283, allocations: 43.42 kB / 0.5718 GB, free: 8.715 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4283, allocations: 0 / 0.5718 GB, free: 8.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.461, allocations: 4.07 MB / 0.5758 GB, free: 4.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.4, allocations: 2.031 kB / 0.5758 GB, free: 4.684 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.500521238194779]