Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001742/0.001742, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002238/0.002238, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.427/1.427, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.2496/0.2496, allocations: 46.95 MB / 360.8 MB, free: 4.031 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.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002432/0.002432, allocations: 83.86 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3425, allocations: 66.08 MB / 0.5608 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003751/0.3462, allocations: 1.874 MB / 0.5626 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.3484, allocations: 1.076 MB / 0.5636 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.772e-05/0.3485, allocations: 0 / 0.5636 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003953/0.3489, allocations: 167.5 kB / 0.5638 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004213/0.3493, allocations: 183.3 kB / 0.564 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.3496, allocations: 123.6 kB / 0.5641 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000311/0.3499, allocations: 247.3 kB / 0.5643 GB, free: 324 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.35, allocations: 15.8 kB / 0.5643 GB, free: 308 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.3501, allocations: 115.5 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.3503, allocations: 139.5 kB / 0.5646 GB, free: 52 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.3504, allocations: 8 kB / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.3505, allocations: 64.03 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.739e-05/0.3506, allocations: 63.7 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.584e-05/0.3507, allocations: 59.55 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003363/0.351, allocations: 230.9 kB / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.351, allocations: 0 / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.351, allocations: 0 / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.351, allocations: 4 kB / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007199/0.3517, allocations: 476.5 kB / 0.5655 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3518, allocations: 12.03 kB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.3518, allocations: 38.73 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.3519, allocations: 28.75 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.3522, allocations: 226.5 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.3523, allocations: 4.375 kB / 0.5658 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.3523, allocations: 8.375 kB / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.3525, allocations: 118.1 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3526, allocations: 0 / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.3526, allocations: 11.98 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3526, allocations: 0 / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.3527, allocations: 51.91 kB / 0.5659 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.3533, allocations: 423.9 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.3537, allocations: 125.2 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3538, allocations: 45.83 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.3538, allocations: 0 / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.3541, allocations: 129 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.3541, allocations: 0 / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.00132/0.3554, allocations: 0.5094 MB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.3555, allocations: 81.11 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.3559, allocations: 384.5 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.3559, allocations: 29.7 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.356, allocations: 148.5 kB / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.3561, allocations: 75.38 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.05e-05/0.3562, allocations: 45.7 kB / 0.5678 GB, free: 12.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3563, allocations: 342.8 kB / 0.5682 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.3565, allocations: 63.91 kB / 0.5682 GB, free: 12.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.3566, allocations: 95.34 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.3569, allocations: 163.3 kB / 0.5685 GB, free: 11.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3569, allocations: 4 kB / 0.5685 GB, free: 11.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004221/0.3574, allocations: 237.5 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3574, allocations: 8 kB / 0.5687 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3574, allocations: 3.938 kB / 0.5687 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3574, allocations: 4 kB / 0.5687 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.3575, allocations: 43.98 kB / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3575, allocations: 4 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.313e-05/0.3576, allocations: 11.98 kB / 0.5688 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.3576, allocations: 4 kB / 0.5688 GB, free: 11.49 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001579/0.3578, allocations: 157.8 kB / 0.5689 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.3578, allocations: 31.8 kB / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005506/0.3584, allocations: 279.5 kB / 0.5692 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3584, allocations: 4 kB / 0.5692 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3584, allocations: 4 kB / 0.5692 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.3584, allocations: 3.984 kB / 0.5692 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009818/0.3594, allocations: 0.6951 MB / 0.5699 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.3594, allocations: 0 / 0.5699 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.58e-05/0.3595, allocations: 31.98 kB / 0.57 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3595, allocations: 0 / 0.57 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.3595, allocations: 8 kB / 0.57 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/0.3595, allocations: 7.984 kB / 0.57 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3595, allocations: 12.06 kB / 0.57 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005245/0.3601, allocations: 449.9 kB / 0.5704 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.3601, allocations: 23.86 kB / 0.5704 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.3601, allocations: 8 kB / 0.5704 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3603, allocations: 7.984 kB / 0.5705 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.3603, allocations: 35.78 kB / 0.5705 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.3604, allocations: 8 kB / 0.5705 GB, free: 9.637 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002912/0.3606, allocations: 287 kB / 0.5708 GB, free: 9.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3606, allocations: 0 / 0.5708 GB, free: 9.355 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003494/0.361, allocations: 59.89 kB / 0.5708 GB, free: 9.297 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002854/0.3638, allocations: 1.392 MB / 0.5722 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003844/0.3642, allocations: 156.2 kB / 0.5723 GB, free: 7.914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3642, allocations: 3.938 kB / 0.5723 GB, free: 7.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.3644, allocations: 80.16 kB / 0.5724 GB, free: 7.832 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.365, allocations: 72.67 kB / 0.5725 GB, free: 7.762 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.3684, allocations: 2.743 MB / 0.5752 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.3686, allocations: 157.4 kB / 0.5753 GB, free: 4.711 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.3687, allocations: 41.92 kB / 0.5754 GB, free: 4.672 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.3688, allocations: 91.41 kB / 0.5754 GB, free: 4.582 MB / 414.1 MB Notification: Performance of SimCode: time 1.713e-06/0.3688, allocations: 0 / 0.5754 GB, free: 4.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0454/0.4142, allocations: 6.924 MB / 0.5822 GB, free: 13.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.61, allocations: 8 kB / 0.5822 GB, free: 13.7 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.575980168767273]