Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.001591/0.001591, allocations: 110 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.001751/0.001751, allocations: 213.4 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.519/1.519, allocations: 230.5 MB / 257.4 MB, free: 8 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.2621/0.2621, allocations: 46.93 MB / 360.8 MB, free: 4.285 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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 79.86 kB / 0.4963 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3516, allocations: 66.08 MB / 0.5608 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00335/0.3549, allocations: 1.747 MB / 0.5625 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.3568, allocations: 1.041 MB / 0.5635 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.357e-05/0.3569, allocations: 15.88 kB / 0.5635 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.3572, allocations: 43.77 kB / 0.5636 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.3575, allocations: 95.59 kB / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.3578, allocations: 75.67 kB / 0.5637 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.358, allocations: 103.7 kB / 0.5638 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.3581, allocations: 9.828 kB / 0.5638 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.3582, allocations: 47.67 kB / 0.5639 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.501e-05/0.3583, allocations: 35.83 kB / 0.5639 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.3583, allocations: 8 kB / 0.5639 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.3584, allocations: 39.98 kB / 0.564 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.3585, allocations: 23.92 kB / 0.564 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.3585, allocations: 35.73 kB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.3588, allocations: 115.5 kB / 0.5641 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3588, allocations: 11.88 kB / 0.5642 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3588, allocations: 0 / 0.5642 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.3588, allocations: 0 / 0.5642 GB, free: 0.8477 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.0006194/0.3594, allocations: 341.6 kB / 0.5645 GB, free: 496 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.3594, allocations: 16.03 kB / 0.5645 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.3595, allocations: 42.73 kB / 0.5645 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.3595, allocations: 8.891 kB / 0.5645 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.3599, allocations: 154.9 kB / 0.5647 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3599, allocations: 8.375 kB / 0.5647 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.3599, allocations: 384 / 0.5647 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.3601, allocations: 61.73 kB / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3601, allocations: 0 / 0.5648 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3601, allocations: 4 kB / 0.5648 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3601, allocations: 4 kB / 0.5648 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.102e-05/0.3602, allocations: 15.98 kB / 0.5648 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.3606, allocations: 256 kB / 0.565 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.3608, allocations: 58.61 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.3609, allocations: 16.86 kB / 0.5651 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.3609, allocations: 11.98 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.3611, allocations: 67.38 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3611, allocations: 0 / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005555/0.3616, allocations: 173.3 kB / 0.5653 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.3617, allocations: 55.41 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.3619, allocations: 198.3 kB / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.3619, allocations: 33.69 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.362, allocations: 108.1 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.3621, allocations: 27.78 kB / 0.5657 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.3621, allocations: 17.72 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3623, allocations: 330.8 kB / 0.5661 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.058e-05/0.3623, allocations: 19.98 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.52e-05/0.3624, allocations: 37.64 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.3625, allocations: 69.69 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3625, allocations: 0 / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001941/0.3627, allocations: 101.5 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3627, allocations: 8 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3627, allocations: 0 / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3627, allocations: 0 / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.575e-05/0.3628, allocations: 16.36 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3629, allocations: 4 kB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.3629, allocations: 4.031 kB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.3629, allocations: 8 kB / 0.5663 GB, free: 14.41 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.0001151/0.363, allocations: 135 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.363, allocations: 15.91 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.3633, allocations: 107.1 kB / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3633, allocations: 0 / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3633, allocations: 0 / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3633, allocations: 0 / 0.5666 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.3638, allocations: 374.3 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3638, allocations: 0 / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.3638, allocations: 11.98 kB / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3638, allocations: 4 kB / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.3638, allocations: 0 / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3639, allocations: 4.25 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3639, allocations: 3.938 kB / 0.567 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.3641, allocations: 220.2 kB / 0.5672 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.3641, allocations: 3.953 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.3642, allocations: 4 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.3642, allocations: 7.922 kB / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.3643, allocations: 8 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.3643, allocations: 7.984 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.3644, allocations: 144.2 kB / 0.5673 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3644, allocations: 4.188 kB / 0.5673 GB, free: 13.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.3647, allocations: 23.92 kB / 0.5674 GB, free: 13.26 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.002157/0.3668, allocations: 1.079 MB / 0.5684 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.367, allocations: 59.84 kB / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.367, allocations: 0 / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.533e-05/0.3671, allocations: 27.92 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3675, allocations: 33.97 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.3694, allocations: 1.662 MB / 0.5702 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.3698, allocations: 0.7079 MB / 0.5708 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.174e-05/0.3699, allocations: 28.95 kB / 0.5709 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.37, allocations: 35.42 kB / 0.5709 GB, free: 9.648 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.37, allocations: 0 / 0.5709 GB, free: 9.648 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.3984, allocations: 3.619 MB / 0.5744 GB, free: 6.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.28, allocations: 4.062 kB / 0.5744 GB, free: 6.066 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.471151153091341]