Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.001834/0.001834, allocations: 111.9 kB / 20.49 MB, free: 1.117 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.00225/0.00225, allocations: 212.9 kB / 23.78 MB, free: 4.324 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.485/1.485, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.2385/0.2385, allocations: 46.95 MB / 360.9 MB, free: 3.875 MB / 286.1 MB " [Timeout remaining time 180] 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.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 75.88 kB / 0.4963 GB, free: 7.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.35, allocations: 66.09 MB / 0.5608 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003133/0.3532, allocations: 1.673 MB / 0.5624 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3549, allocations: 0.9593 MB / 0.5634 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.355, allocations: 0 / 0.5634 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.3553, allocations: 51.75 kB / 0.5634 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.3556, allocations: 99.59 kB / 0.5635 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.3557, allocations: 75.67 kB / 0.5636 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.3559, allocations: 103.7 kB / 0.5637 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.356, allocations: 4.234 kB / 0.5637 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.059e-05/0.3561, allocations: 39.8 kB / 0.5637 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.267e-05/0.3561, allocations: 31.78 kB / 0.5638 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.3562, allocations: 4 kB / 0.5638 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-05/0.3562, allocations: 35.97 kB / 0.5638 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.3563, allocations: 27.86 kB / 0.5638 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.3564, allocations: 31.75 kB / 0.5639 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.3566, allocations: 129.2 kB / 0.564 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3566, allocations: 0 / 0.564 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3566, allocations: 0 / 0.564 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3566, allocations: 0 / 0.564 GB, free: 0.5586 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.0005748/0.3572, allocations: 369.3 kB / 0.5643 GB, free: 172 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3572, allocations: 12.03 kB / 0.5644 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.3573, allocations: 38.69 kB / 0.5644 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.3573, allocations: 8.891 kB / 0.5644 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.3576, allocations: 159.2 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3576, allocations: 4.375 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.3576, allocations: 384 / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.3578, allocations: 57.8 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3578, allocations: 0 / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3578, allocations: 0 / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3578, allocations: 0 / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.52e-05/0.3578, allocations: 23.92 kB / 0.5646 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.3581, allocations: 156.8 kB / 0.5648 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.3582, allocations: 54.61 kB / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.837e-05/0.3583, allocations: 24.84 kB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.3583, allocations: 0 / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.3585, allocations: 71.27 kB / 0.5649 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3585, allocations: 0 / 0.5649 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002886/0.3587, allocations: 105.5 kB / 0.565 GB, free: 15.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3588, allocations: 51.41 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.3591, allocations: 278.8 kB / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.3591, allocations: 25.7 kB / 0.5654 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.3592, allocations: 116.1 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.3592, allocations: 23.83 kB / 0.5655 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.3592, allocations: 25.7 kB / 0.5655 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3594, allocations: 322.8 kB / 0.5658 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.17e-05/0.3594, allocations: 16 kB / 0.5658 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.186e-05/0.3595, allocations: 29.7 kB / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.3596, allocations: 49.64 kB / 0.5659 GB, free: 14.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3596, allocations: 0 / 0.5659 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001794/0.3598, allocations: 93.77 kB / 0.566 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.3598, allocations: 10.03 kB / 0.566 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3598, allocations: 8.031 kB / 0.566 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3598, allocations: 0 / 0.566 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.296e-05/0.3599, allocations: 8 kB / 0.566 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3599, allocations: 0 / 0.566 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.36, allocations: 11.94 kB / 0.566 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.36, allocations: 7.984 kB / 0.5661 GB, free: 14.23 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 (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.0001096/0.3601, allocations: 131.1 kB / 0.5662 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.3601, allocations: 19.84 kB / 0.5662 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.3603, allocations: 102.7 kB / 0.5663 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3604, allocations: 3.984 kB / 0.5663 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3604, allocations: 4 kB / 0.5663 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3604, allocations: 0 / 0.5663 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.3605, allocations: 168.7 kB / 0.5665 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.3605, allocations: 3.938 kB / 0.5665 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.3606, allocations: 4 kB / 0.5665 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3606, allocations: 0 / 0.5665 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3606, allocations: 4 kB / 0.5665 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3606, allocations: 0 / 0.5665 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3606, allocations: 0 / 0.5665 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.3608, allocations: 121 kB / 0.5666 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.3608, allocations: 19.84 kB / 0.5666 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.3608, allocations: 3.984 kB / 0.5666 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.164e-05/0.3609, allocations: 11.94 kB / 0.5666 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.3609, allocations: 0 / 0.5666 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.3609, allocations: 7.984 kB / 0.5666 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.3611, allocations: 200.6 kB / 0.5668 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3611, allocations: 0 / 0.5668 GB, free: 13.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.3613, allocations: 23.92 kB / 0.5669 GB, free: 13.34 MB / 414.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 (6): * Single equations (assignments): 4 * 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.002018/0.3633, allocations: 0.988 MB / 0.5678 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.3635, allocations: 39.98 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3635, allocations: 0 / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.581e-05/0.3636, allocations: 27.92 kB / 0.5679 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.3639, allocations: 20.23 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.3659, allocations: 1.706 MB / 0.5696 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.366, allocations: 105.8 kB / 0.5697 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.101e-05/0.3661, allocations: 12.48 kB / 0.5697 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.3661, allocations: 43.42 kB / 0.5697 GB, free: 10.42 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3661, allocations: 0 / 0.5697 GB, free: 10.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/0.3979, allocations: 4.25 MB / 0.5739 GB, free: 6.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.52, allocations: 6.594 kB / 0.5739 GB, free: 6.188 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.66794825810939]