Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002145/0.002145, allocations: 201.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2395/0.2395, allocations: 46.96 MB / 360.9 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.91 kB / 0.4962 GB, free: 7.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3436, allocations: 66.03 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003219/0.3468, allocations: 1.79 MB / 0.5624 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.3487, allocations: 1.046 MB / 0.5634 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.741e-05/0.3488, allocations: 0 / 0.5634 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005247/0.3493, allocations: 303.3 kB / 0.5637 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004867/0.3498, allocations: 267.1 kB / 0.564 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.35, allocations: 107.6 kB / 0.5641 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.3504, allocations: 271.2 kB / 0.5643 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.3504, allocations: 9.812 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.3506, allocations: 127.6 kB / 0.5645 GB, free: 300 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.3508, allocations: 223.4 kB / 0.5647 GB, free: 76 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.3509, allocations: 8 kB / 0.5647 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.351, allocations: 51.97 kB / 0.5647 GB, free: 16 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.3511, allocations: 139.7 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.3513, allocations: 110.9 kB / 0.565 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.3517, allocations: 388 kB / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3517, allocations: 0 / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3517, allocations: 0 / 0.5653 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3517, allocations: 4 kB / 0.5653 GB, free: 15.39 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.001014/0.3527, allocations: 0.6864 MB / 0.566 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3528, allocations: 8.031 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/0.3528, allocations: 34.69 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.924e-05/0.3529, allocations: 56.55 kB / 0.5661 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006294/0.3535, allocations: 390.5 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.3535, allocations: 8.359 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.3536, allocations: 3.938 kB / 0.5665 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.3538, allocations: 87.36 kB / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3538, allocations: 4 kB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3538, allocations: 0 / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.3538, allocations: 4 kB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.3539, allocations: 35.91 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.3544, allocations: 341.4 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.3548, allocations: 113.1 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.3549, allocations: 41.7 kB / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.3549, allocations: 0 / 0.5671 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/0.3552, allocations: 113 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 4.108e-06/0.3552, allocations: 3.984 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005905/0.3558, allocations: 213.2 kB / 0.5674 GB, free: 13.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.075e-05/0.3559, allocations: 77.11 kB / 0.5675 GB, free: 13.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.3573, allocations: 1.062 MB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.109e-05/0.3574, allocations: 25.7 kB / 0.5685 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.3577, allocations: 244 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/0.3577, allocations: 27.81 kB / 0.5688 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.228e-05/0.3578, allocations: 33.7 kB / 0.5688 GB, free: 11.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.358, allocations: 366.8 kB / 0.5692 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3581, allocations: 35.98 kB / 0.5692 GB, free: 11.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3582, allocations: 59.41 kB / 0.5693 GB, free: 11.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.3585, allocations: 91.34 kB / 0.5694 GB, free: 11.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.3585, allocations: 3.938 kB / 0.5694 GB, free: 11.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003611/0.3588, allocations: 181.2 kB / 0.5695 GB, free: 10.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.3588, allocations: 7.984 kB / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3589, allocations: 0 / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3589, allocations: 4.625 kB / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.359, allocations: 19.94 kB / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.359, allocations: 7.984 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3591, allocations: 7.938 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.3591, allocations: 7.938 kB / 0.5696 GB, free: 10.78 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.0002609/0.3594, allocations: 237.7 kB / 0.5698 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-05/0.3595, allocations: 55.62 kB / 0.5699 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004575/0.3599, allocations: 197.9 kB / 0.57 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3599, allocations: 3.938 kB / 0.5701 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3599, allocations: 4 kB / 0.5701 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.36, allocations: 3.984 kB / 0.5701 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.3603, allocations: 296.5 kB / 0.5703 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3603, allocations: 0 / 0.5703 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.3603, allocations: 8 kB / 0.5704 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3603, allocations: 0 / 0.5704 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.3604, allocations: 12 kB / 0.5704 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3604, allocations: 0 / 0.5704 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3604, allocations: 0 / 0.5704 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.3607, allocations: 225.4 kB / 0.5706 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.3609, allocations: 67.59 kB / 0.5706 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.3609, allocations: 4 kB / 0.5706 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.887e-05/0.361, allocations: 11.92 kB / 0.5707 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.3611, allocations: 11.98 kB / 0.5707 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.3611, allocations: 4 kB / 0.5707 GB, free: 9.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.3621, allocations: 0.7917 MB / 0.5714 GB, free: 8.785 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3621, allocations: 4 kB / 0.5714 GB, free: 8.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002789/0.3624, allocations: 43.98 kB / 0.5715 GB, free: 8.738 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.002329/0.3647, allocations: 1.102 MB / 0.5726 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.365, allocations: 83.89 kB / 0.5726 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.365, allocations: 0 / 0.5726 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.3651, allocations: 43.92 kB / 0.5727 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.3656, allocations: 75 kB / 0.5728 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006286/0.3719, allocations: 4.594 MB / 0.5772 GB, free: 2.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.3722, allocations: 245.7 kB / 0.5775 GB, free: 2.629 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.3723, allocations: 62.94 kB / 0.5775 GB, free: 2.566 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.3725, allocations: 151.4 kB / 0.5777 GB, free: 2.422 MB / 414.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3725, allocations: 4 kB / 0.5777 GB, free: 2.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03892/0.4114, allocations: 10.02 MB / 0.5875 GB, free: 8.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.32, allocations: 14.94 kB / 0.5875 GB, free: 8.469 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 14.409843317000195]