Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.001778/0.001778, allocations: 112.9 kB / 21.1 MB, free: 0.7695 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.002093/0.002093, allocations: 209.5 kB / 24.38 MB, free: 4.184 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.48/1.48, allocations: 230.2 MB / 257.7 MB, free: 8.25 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.2365/0.2365, allocations: 46.94 MB / 361.1 MB, free: 4.398 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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00244/0.00244, allocations: 83.84 kB / 0.4963 GB, free: 8.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3374, allocations: 66.05 MB / 0.5608 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003437/0.3408, allocations: 1.737 MB / 0.5625 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.3427, allocations: 1.049 MB / 0.5636 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.422e-05/0.3428, allocations: 0 / 0.5636 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.3431, allocations: 43.77 kB / 0.5636 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.3434, allocations: 99.48 kB / 0.5637 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.3436, allocations: 83.72 kB / 0.5638 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.3439, allocations: 95.7 kB / 0.5639 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.344, allocations: 17.8 kB / 0.5639 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.3441, allocations: 47.73 kB / 0.5639 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.851e-05/0.3442, allocations: 31.84 kB / 0.564 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.3442, allocations: 4 kB / 0.564 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.3443, allocations: 51.91 kB / 0.564 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.497e-05/0.3444, allocations: 15.92 kB / 0.564 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.3444, allocations: 31.75 kB / 0.5641 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.3446, allocations: 123.4 kB / 0.5642 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3446, allocations: 0 / 0.5642 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3446, allocations: 4 kB / 0.5642 GB, free: 1.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3446, allocations: 3.938 kB / 0.5642 GB, free: 1.094 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.00057/0.3452, allocations: 345.6 kB / 0.5645 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3453, allocations: 8.031 kB / 0.5645 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.304e-05/0.3453, allocations: 42.69 kB / 0.5646 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.3453, allocations: 12.88 kB / 0.5646 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.3456, allocations: 154.9 kB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3456, allocations: 8.375 kB / 0.5647 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.3456, allocations: 4.375 kB / 0.5647 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3458, allocations: 61.8 kB / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3458, allocations: 0 / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.3458, allocations: 0 / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3458, allocations: 0 / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.484e-05/0.3459, allocations: 23.92 kB / 0.5648 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.3463, allocations: 252 kB / 0.5651 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.3464, allocations: 58.67 kB / 0.5651 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.3465, allocations: 16.86 kB / 0.5651 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.3465, allocations: 4 kB / 0.5651 GB, free: 0 / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.3467, allocations: 71.31 kB / 0.5652 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3467, allocations: 0 / 0.5652 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005856/0.3473, allocations: 181.3 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.3473, allocations: 51.41 kB / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.3475, allocations: 198.2 kB / 0.5656 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3476, allocations: 29.7 kB / 0.5656 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.3476, allocations: 104.1 kB / 0.5657 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.3477, allocations: 27.78 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.3477, allocations: 25.72 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3479, allocations: 326.8 kB / 0.5661 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/0.3479, allocations: 23.98 kB / 0.5661 GB, free: 14.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.809e-05/0.348, allocations: 37.7 kB / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.3481, allocations: 61.7 kB / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3481, allocations: 0 / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001955/0.3483, allocations: 105.6 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3484, allocations: 4 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3484, allocations: 4.219 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3484, allocations: 4 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.877e-05/0.3485, allocations: 24.23 kB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3485, allocations: 0 / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.3485, allocations: 4 kB / 0.5664 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3485, allocations: 4 kB / 0.5664 GB, free: 14.66 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 (10): * Single equations (assignments): 10 * 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.0001179/0.3487, allocations: 135.1 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.3487, allocations: 11.91 kB / 0.5665 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.349, allocations: 119 kB / 0.5666 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.349, allocations: 4 kB / 0.5666 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.349, allocations: 0 / 0.5666 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.349, allocations: 3.984 kB / 0.5666 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.3495, allocations: 366.3 kB / 0.567 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3495, allocations: 0 / 0.567 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.3496, allocations: 11.98 kB / 0.567 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3496, allocations: 0 / 0.567 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3496, allocations: 8.031 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3496, allocations: 3.938 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3496, allocations: 0 / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.3498, allocations: 208.2 kB / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.3499, allocations: 11.95 kB / 0.5672 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.3499, allocations: 3.938 kB / 0.5672 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.35, allocations: 11.92 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.35, allocations: 4 kB / 0.5672 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.35, allocations: 11.98 kB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.3502, allocations: 140.2 kB / 0.5674 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3502, allocations: 0 / 0.5674 GB, free: 13.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.3504, allocations: 27.92 kB / 0.5674 GB, free: 13.5 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: 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 (8): * Single equations (assignments): 6 * 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.002279/0.3527, allocations: 1.091 MB / 0.5685 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.3529, allocations: 59.91 kB / 0.5685 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3529, allocations: 4 kB / 0.5685 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.469e-05/0.353, allocations: 27.92 kB / 0.5686 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.3534, allocations: 27.36 kB / 0.5686 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.3556, allocations: 1.654 MB / 0.5702 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000493/0.3561, allocations: 0.708 MB / 0.5709 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.255e-05/0.3562, allocations: 21.27 kB / 0.5709 GB, free: 9.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.29e-05/0.3563, allocations: 35.42 kB / 0.5709 GB, free: 9.898 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3563, allocations: 0 / 0.5709 GB, free: 9.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/0.3887, allocations: 3.625 MB / 0.5745 GB, free: 6.312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.84, allocations: 4.734 kB / 0.5745 GB, free: 6.309 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.984960008994676]