Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.001877/0.001877, allocations: 112.7 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.002569/0.002569, allocations: 214.7 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.473/1.473, 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.2279/0.2279, allocations: 46.93 MB / 360.8 MB, free: 4.188 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.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 79.88 kB / 0.4963 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.321, allocations: 66.08 MB / 0.5608 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003306/0.3243, allocations: 1.844 MB / 0.5626 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.3263, allocations: 1.115 MB / 0.5637 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.3264, allocations: 7.938 kB / 0.5637 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005336/0.3269, allocations: 307.3 kB / 0.564 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005371/0.3275, allocations: 259.2 kB / 0.5642 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.3277, allocations: 107.7 kB / 0.5643 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004064/0.3282, allocations: 275.2 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.911e-05/0.3282, allocations: 9.797 kB / 0.5646 GB, free: 352 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.3284, allocations: 131.6 kB / 0.5647 GB, free: 220 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.3288, allocations: 223.5 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.3288, allocations: 8 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.3289, allocations: 47.86 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.3291, allocations: 139.6 kB / 0.5651 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001596/0.3292, allocations: 154.7 kB / 0.5653 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004842/0.3297, allocations: 380 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3297, allocations: 0 / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3297, allocations: 0 / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.3297, allocations: 4 kB / 0.5656 GB, free: 15.28 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001126/0.3308, allocations: 0.6824 MB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3309, allocations: 12.03 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.3309, allocations: 34.69 kB / 0.5663 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.198e-05/0.331, allocations: 52.61 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007041/0.3317, allocations: 406.5 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3317, allocations: 4.375 kB / 0.5668 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.3318, allocations: 4.375 kB / 0.5668 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002191/0.332, allocations: 95.48 kB / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.332, allocations: 0 / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.332, allocations: 0 / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.332, allocations: 0 / 0.5669 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.3321, allocations: 35.91 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.3325, allocations: 349.4 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.3328, allocations: 109.2 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.761e-05/0.3329, allocations: 33.7 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.3329, allocations: 4 kB / 0.5674 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.3332, allocations: 112.9 kB / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.3332, allocations: 4 kB / 0.5675 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005011/0.3337, allocations: 201.2 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.3337, allocations: 77.11 kB / 0.5678 GB, free: 12.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.335, allocations: 1.061 MB / 0.5688 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.335, allocations: 29.7 kB / 0.5688 GB, free: 11.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.3352, allocations: 236.1 kB / 0.5691 GB, free: 11.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/0.3353, allocations: 27.8 kB / 0.5691 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/0.3353, allocations: 29.7 kB / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.3356, allocations: 370.8 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-05/0.3357, allocations: 31.98 kB / 0.5695 GB, free: 11.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.3358, allocations: 59.41 kB / 0.5696 GB, free: 11.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.336, allocations: 87.36 kB / 0.5696 GB, free: 10.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.336, allocations: 3.938 kB / 0.5696 GB, free: 10.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003302/0.3363, allocations: 177.2 kB / 0.5698 GB, free: 10.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3363, allocations: 8.062 kB / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3363, allocations: 7.938 kB / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3363, allocations: 0 / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3364, allocations: 24.55 kB / 0.5698 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.3365, allocations: 4 kB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.992e-05/0.3366, allocations: 11.94 kB / 0.5699 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3366, allocations: 4 kB / 0.5699 GB, free: 10.68 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002358/0.3368, allocations: 223.9 kB / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.3369, allocations: 63.56 kB / 0.5701 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003966/0.3373, allocations: 197.9 kB / 0.5703 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3373, allocations: 0 / 0.5703 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3373, allocations: 7.938 kB / 0.5703 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3373, allocations: 3.984 kB / 0.5703 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.3376, allocations: 316.5 kB / 0.5706 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3376, allocations: 3.938 kB / 0.5706 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/0.3377, allocations: 8 kB / 0.5707 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3377, allocations: 0 / 0.5707 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.3377, allocations: 11.98 kB / 0.5707 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.636e-05/0.3377, allocations: 3.984 kB / 0.5707 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3377, allocations: 0 / 0.5707 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.3381, allocations: 213.5 kB / 0.5709 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.3382, allocations: 71.53 kB / 0.5709 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.3383, allocations: 8 kB / 0.5709 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/0.3383, allocations: 11.98 kB / 0.571 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.3384, allocations: 7.984 kB / 0.571 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.3384, allocations: 8 kB / 0.571 GB, free: 9.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008654/0.3393, allocations: 0.78 MB / 0.5717 GB, free: 8.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3393, allocations: 0 / 0.5717 GB, free: 8.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.3395, allocations: 40 kB / 0.5718 GB, free: 8.648 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002154/0.3417, allocations: 1.064 MB / 0.5728 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.342, allocations: 83.89 kB / 0.5729 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.342, allocations: 0 / 0.5729 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.3421, allocations: 43.86 kB / 0.5729 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.3425, allocations: 76.5 kB / 0.573 GB, free: 7.496 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006288/0.3488, allocations: 4.567 MB / 0.5775 GB, free: 2.824 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.3494, allocations: 0.8507 MB / 0.5783 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.3496, allocations: 62.89 kB / 0.5784 GB, free: 1.883 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.3498, allocations: 151.4 kB / 0.5785 GB, free: 1.738 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3498, allocations: 0 / 0.5785 GB, free: 1.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.039/0.3888, allocations: 9.371 MB / 0.5877 GB, free: 8.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.24, allocations: 11.12 kB / 0.5877 GB, free: 8.391 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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: 15.385417331941426]