Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.001258/0.001258, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001552/0.001552, allocations: 212.1 kB / 23.74 MB, free: 4.66 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.523/1.523, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.2469/0.2469, allocations: 46.93 MB / 360.8 MB, free: 4.258 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.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 75.88 kB / 0.4963 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4184, allocations: 66.08 MB / 0.5608 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.0035/0.4219, allocations: 1.741 MB / 0.5625 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.4238, allocations: 1.055 MB / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.4239, allocations: 0 / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.4243, allocations: 55.69 kB / 0.5636 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.4246, allocations: 107.5 kB / 0.5637 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.4248, allocations: 75.73 kB / 0.5638 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.425, allocations: 107.7 kB / 0.5639 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.4251, allocations: 5.828 kB / 0.5639 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.4252, allocations: 55.72 kB / 0.5639 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.34e-05/0.4253, allocations: 27.84 kB / 0.5639 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.4253, allocations: 4 kB / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.4254, allocations: 39.98 kB / 0.564 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.476e-05/0.4255, allocations: 39.8 kB / 0.564 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.4255, allocations: 39.67 kB / 0.5641 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.4258, allocations: 143.4 kB / 0.5642 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4258, allocations: 0 / 0.5642 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4258, allocations: 0 / 0.5642 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.4258, allocations: 0 / 0.5642 GB, free: 0.7734 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.0005817/0.4264, allocations: 381.2 kB / 0.5646 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4264, allocations: 8.031 kB / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.4264, allocations: 30.75 kB / 0.5646 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.4265, allocations: 24.83 kB / 0.5646 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.4268, allocations: 167.2 kB / 0.5648 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.4268, allocations: 384 / 0.5648 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.4268, allocations: 4.375 kB / 0.5648 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.427, allocations: 57.8 kB / 0.5648 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.427, allocations: 0 / 0.5648 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.427, allocations: 0 / 0.5648 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.427, allocations: 0 / 0.5648 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.972e-05/0.4271, allocations: 19.98 kB / 0.5649 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.4275, allocations: 275.8 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.4276, allocations: 54.69 kB / 0.5652 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.4277, allocations: 24.84 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.4277, allocations: 0 / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.4279, allocations: 75.33 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.4279, allocations: 0 / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005322/0.4284, allocations: 173.4 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.4285, allocations: 59.34 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.4288, allocations: 270.8 kB / 0.5658 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.4288, allocations: 25.7 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.487e-05/0.4289, allocations: 128 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.4289, allocations: 27.78 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.4289, allocations: 29.7 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4291, allocations: 330.8 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.941e-05/0.4291, allocations: 19.98 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.659e-05/0.4292, allocations: 29.72 kB / 0.5663 GB, free: 14.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.4293, allocations: 65.64 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4293, allocations: 4 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001944/0.4295, allocations: 109.6 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4295, allocations: 10.12 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4295, allocations: 0 / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4296, allocations: 0 / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.475e-05/0.4297, allocations: 23.94 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4297, allocations: 0 / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.4297, allocations: 3.984 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.4297, allocations: 4 kB / 0.5665 GB, free: 14.18 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.0001312/0.4299, allocations: 143.1 kB / 0.5667 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.4299, allocations: 15.91 kB / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.4301, allocations: 123 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4301, allocations: 0 / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4301, allocations: 0 / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4302, allocations: 0 / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.4306, allocations: 378.3 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4306, allocations: 4.031 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.4307, allocations: 8 kB / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4307, allocations: 0 / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.4307, allocations: 384 / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.4307, allocations: 11.92 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4307, allocations: 3.984 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.431, allocations: 208.3 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.431, allocations: 15.91 kB / 0.5674 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.431, allocations: 7.938 kB / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/0.4311, allocations: 3.938 kB / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.4311, allocations: 11.98 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.4311, allocations: 4 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.4313, allocations: 200.6 kB / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4313, allocations: 192 / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.4316, allocations: 27.94 kB / 0.5676 GB, free: 12.94 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 (8): * Single equations (assignments): 6 * 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.002206/0.4338, allocations: 1.095 MB / 0.5687 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.434, allocations: 59.91 kB / 0.5688 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.434, allocations: 0 / 0.5688 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.28e-05/0.4341, allocations: 31.86 kB / 0.5688 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.4344, allocations: 27.92 kB / 0.5688 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.4365, allocations: 1.831 MB / 0.5706 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.4369, allocations: 0.7158 MB / 0.5713 GB, free: 9.207 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.626e-05/0.4369, allocations: 17.27 kB / 0.5713 GB, free: 9.188 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.58e-05/0.437, allocations: 39.42 kB / 0.5714 GB, free: 9.148 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.437, allocations: 4 kB / 0.5714 GB, free: 9.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03474/0.4717, allocations: 3.965 MB / 0.5752 GB, free: 5.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.35, allocations: 10.31 kB / 0.5753 GB, free: 5.215 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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.518764130072668]