Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.001469/0.001469, 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.001692/0.001692, allocations: 214.4 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.434/1.434, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.2353/0.2353, allocations: 46.95 MB / 360.8 MB, free: 3.949 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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003364/0.003364, allocations: 79.88 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3274, allocations: 66.08 MB / 0.5608 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003364/0.3308, allocations: 1.743 MB / 0.5625 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.3327, allocations: 0.9827 MB / 0.5634 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.3327, allocations: 0 / 0.5634 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.3331, allocations: 107.6 kB / 0.5635 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.3335, allocations: 127.5 kB / 0.5636 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.3337, allocations: 83.66 kB / 0.5637 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.3339, allocations: 143.6 kB / 0.5639 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.334, allocations: 11.42 kB / 0.5639 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.3341, allocations: 71.69 kB / 0.5639 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.3343, allocations: 71.78 kB / 0.564 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.3343, allocations: 8 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.3344, allocations: 59.98 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.211e-05/0.3345, allocations: 39.84 kB / 0.5641 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.928e-05/0.3346, allocations: 39.73 kB / 0.5642 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.3348, allocations: 175.2 kB / 0.5643 GB, free: 348 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3348, allocations: 0 / 0.5643 GB, free: 348 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3348, allocations: 4 kB / 0.5643 GB, free: 344 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.3349, allocations: 0 / 0.5643 GB, free: 344 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006668/0.3355, allocations: 389.2 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3356, allocations: 12.03 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/0.3356, allocations: 30.75 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.3357, allocations: 16.84 kB / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.336, allocations: 171.1 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.336, allocations: 8.375 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.3361, allocations: 4.375 kB / 0.5649 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.3363, allocations: 81.77 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.3363, allocations: 3.953 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3363, allocations: 0 / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.3363, allocations: 4 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.3364, allocations: 47.89 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.3369, allocations: 295.8 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.3372, allocations: 70.55 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/0.3373, allocations: 32.84 kB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.3373, allocations: 0 / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.3375, allocations: 83.36 kB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.3375, allocations: 3.938 kB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009392/0.3384, allocations: 317.3 kB / 0.5658 GB, free: 14.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.3385, allocations: 59.28 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.3388, allocations: 267.7 kB / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.3388, allocations: 29.7 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.946e-05/0.3389, allocations: 120.1 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/0.339, allocations: 51.58 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.339, allocations: 29.7 kB / 0.5664 GB, free: 14.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3392, allocations: 330.8 kB / 0.5667 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.896e-05/0.3393, allocations: 43.97 kB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3394, allocations: 53.7 kB / 0.5668 GB, free: 13.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.3396, allocations: 105.1 kB / 0.5669 GB, free: 13.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3396, allocations: 3.984 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002921/0.3399, allocations: 165.5 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3399, allocations: 14.38 kB / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3399, allocations: 0 / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3399, allocations: 0 / 0.567 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.34, allocations: 31.92 kB / 0.5671 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.3401, allocations: 11.92 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.3401, allocations: 4 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.3401, allocations: 7.984 kB / 0.5671 GB, free: 13.29 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 (16): * Single equations (assignments): 16 * 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.0001325/0.3403, allocations: 133.8 kB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.3403, allocations: 20.7 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004356/0.3407, allocations: 205.8 kB / 0.5674 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3407, allocations: 4 kB / 0.5674 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.3407, allocations: 3.938 kB / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3407, allocations: 0 / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007093/0.3414, allocations: 487.1 kB / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3414, allocations: 4 kB / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.279e-05/0.3415, allocations: 27.86 kB / 0.5679 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3415, allocations: 4 kB / 0.5679 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.3415, allocations: 3.938 kB / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.3415, allocations: 12.05 kB / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3415, allocations: 0 / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.3419, allocations: 281 kB / 0.5682 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.342, allocations: 19.86 kB / 0.5682 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.342, allocations: 4 kB / 0.5682 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.3421, allocations: 7.984 kB / 0.5683 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.3421, allocations: 11.98 kB / 0.5683 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.3422, allocations: 8 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.3424, allocations: 201.5 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3424, allocations: 0 / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000314/0.3427, allocations: 35.94 kB / 0.5685 GB, free: 11.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002758/0.3454, allocations: 1.249 MB / 0.5697 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002912/0.3457, allocations: 107.8 kB / 0.5698 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3457, allocations: 0 / 0.5698 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.3459, allocations: 55.91 kB / 0.5699 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.3463, allocations: 31.89 kB / 0.5699 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/0.3488, allocations: 2.035 MB / 0.5719 GB, free: 8.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.3489, allocations: 115.4 kB / 0.572 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.316e-05/0.349, allocations: 29.34 kB / 0.572 GB, free: 8.195 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.857e-05/0.3491, allocations: 63.39 kB / 0.5721 GB, free: 8.133 MB / 414.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3491, allocations: 0 / 0.5721 GB, free: 8.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.3805, allocations: 5.081 MB / 0.5771 GB, free: 3.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.43, allocations: 6.328 kB / 0.5771 GB, free: 3.086 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.444285932928324]