Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.00187/0.00187, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002313/0.002313, allocations: 213.7 kB / 23.73 MB, free: 4.406 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.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.235/0.235, allocations: 46.95 MB / 360.8 MB, free: 3.945 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.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002537/0.002537, allocations: 79.88 kB / 0.4962 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3445, allocations: 66.08 MB / 0.5608 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003452/0.3479, allocations: 1.874 MB / 0.5626 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.3501, allocations: 1.073 MB / 0.5636 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.906e-05/0.3502, allocations: 4 kB / 0.5636 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.3507, allocations: 255.3 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005919/0.3513, allocations: 227.2 kB / 0.5641 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.3517, allocations: 123.6 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.3521, allocations: 275.2 kB / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.3522, allocations: 23.78 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.3524, allocations: 143.4 kB / 0.5646 GB, free: 48 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.3527, allocations: 195.5 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.3527, allocations: 8 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.3528, allocations: 71.95 kB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.3529, allocations: 71.64 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.609e-05/0.353, allocations: 75.47 kB / 0.565 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.3534, allocations: 258.7 kB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.3534, allocations: 0 / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.748e-06/0.3534, allocations: 0 / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.482e-05/0.3534, allocations: 3.938 kB / 0.5653 GB, free: 15.38 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.0009686/0.3544, allocations: 0.5157 MB / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3544, allocations: 8.031 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/0.3545, allocations: 42.73 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.3545, allocations: 28.75 kB / 0.5659 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.355, allocations: 240.8 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.355, allocations: 8.375 kB / 0.5661 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.355, allocations: 8.359 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.3553, allocations: 117.8 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3553, allocations: 4 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.3553, allocations: 4 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3553, allocations: 0 / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.3555, allocations: 55.89 kB / 0.5663 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007759/0.3562, allocations: 443.9 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.3566, allocations: 125.2 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3567, allocations: 41.83 kB / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.3568, allocations: 0 / 0.5669 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.357, allocations: 129 kB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.357, allocations: 0 / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001408/0.3584, allocations: 0.5319 MB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.3585, allocations: 81.11 kB / 0.5676 GB, free: 12.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/0.3591, allocations: 0.4977 MB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.3591, allocations: 29.7 kB / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.3593, allocations: 176.5 kB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.3595, allocations: 71.41 kB / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.3595, allocations: 45.7 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.3598, allocations: 346.8 kB / 0.5687 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.3599, allocations: 55.98 kB / 0.5688 GB, free: 11.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.3601, allocations: 103.3 kB / 0.5689 GB, free: 11.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.3604, allocations: 163.3 kB / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3604, allocations: 0 / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004331/0.3608, allocations: 245.4 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3608, allocations: 4 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3608, allocations: 11.81 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3609, allocations: 4 kB / 0.5693 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.361, allocations: 55.97 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.361, allocations: 0 / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.587e-05/0.3611, allocations: 7.984 kB / 0.5693 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.3611, allocations: 12 kB / 0.5694 GB, free: 10.96 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.0001717/0.3613, allocations: 169.8 kB / 0.5695 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.3614, allocations: 39.77 kB / 0.5696 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006699/0.362, allocations: 285.2 kB / 0.5698 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.362, allocations: 4 kB / 0.5698 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.362, allocations: 0 / 0.5698 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.362, allocations: 11.98 kB / 0.5698 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.3631, allocations: 0.7146 MB / 0.5705 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3631, allocations: 0 / 0.5705 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.763e-05/0.3632, allocations: 39.92 kB / 0.5706 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.3632, allocations: 4 kB / 0.5706 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.3632, allocations: 8 kB / 0.5706 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3632, allocations: 0 / 0.5706 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.3632, allocations: 7.938 kB / 0.5706 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/0.3639, allocations: 441.9 kB / 0.571 GB, free: 9.145 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.3639, allocations: 35.8 kB / 0.5711 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.364, allocations: 8 kB / 0.5711 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.3641, allocations: 11.98 kB / 0.5711 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.3642, allocations: 27.84 kB / 0.5711 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.3642, allocations: 8 kB / 0.5711 GB, free: 9.055 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005039/0.3647, allocations: 383.1 kB / 0.5715 GB, free: 8.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3647, allocations: 192 / 0.5715 GB, free: 8.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003777/0.3651, allocations: 47.92 kB / 0.5715 GB, free: 8.633 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.003278/0.3683, allocations: 1.42 MB / 0.5729 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004208/0.3688, allocations: 155.9 kB / 0.5731 GB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3688, allocations: 0 / 0.5731 GB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.3689, allocations: 80.22 kB / 0.5731 GB, free: 7.145 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006178/0.3696, allocations: 76.95 kB / 0.5732 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.3739, allocations: 3.017 MB / 0.5761 GB, free: 3.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.3741, allocations: 186.4 kB / 0.5763 GB, free: 3.727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001332/0.3743, allocations: 45.91 kB / 0.5764 GB, free: 3.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.3744, allocations: 99.39 kB / 0.5765 GB, free: 3.586 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3744, allocations: 0 / 0.5765 GB, free: 3.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03743/0.4119, allocations: 7.507 MB / 0.5838 GB, free: 12.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.58, allocations: 9.969 kB / 0.5838 GB, free: 12.12 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.568482589907944]