Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.001503/0.001503, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.002706/0.002706, allocations: 214.9 kB / 23.75 MB, free: 4.672 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.549/1.549, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2295/0.2295, allocations: 46.93 MB / 360.8 MB, free: 4.184 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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 79.88 kB / 0.4963 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3233, allocations: 66.08 MB / 0.5608 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003439/0.3267, allocations: 1.749 MB / 0.5625 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3286, allocations: 1.049 MB / 0.5635 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.701e-05/0.3287, allocations: 0 / 0.5635 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.329, allocations: 43.77 kB / 0.5636 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.3294, allocations: 103.5 kB / 0.5637 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.3296, allocations: 79.72 kB / 0.5637 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.3298, allocations: 107.7 kB / 0.5638 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.3299, allocations: 5.828 kB / 0.5639 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.33, allocations: 51.7 kB / 0.5639 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.901e-05/0.3301, allocations: 31.86 kB / 0.5639 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.3301, allocations: 4 kB / 0.5639 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3302, allocations: 43.97 kB / 0.564 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.916e-05/0.3303, allocations: 19.86 kB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.3303, allocations: 31.75 kB / 0.564 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.3306, allocations: 131.5 kB / 0.5642 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3306, allocations: 0 / 0.5642 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3306, allocations: 0 / 0.5642 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.3306, allocations: 3.938 kB / 0.5642 GB, free: 0.8086 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.0005761/0.3312, allocations: 345.6 kB / 0.5645 GB, free: 452 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3312, allocations: 8.031 kB / 0.5645 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/0.3312, allocations: 34.75 kB / 0.5645 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.3313, allocations: 8.891 kB / 0.5645 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.3315, allocations: 162.9 kB / 0.5647 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3316, allocations: 4.375 kB / 0.5647 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.3316, allocations: 4.375 kB / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.3317, allocations: 57.8 kB / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3317, allocations: 0 / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3317, allocations: 0 / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3317, allocations: 0 / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.427e-05/0.3318, allocations: 19.98 kB / 0.5648 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.3322, allocations: 259.9 kB / 0.565 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.3324, allocations: 58.67 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.3324, allocations: 20.84 kB / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.3325, allocations: 0 / 0.5651 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.3326, allocations: 71.33 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.3326, allocations: 4 kB / 0.5652 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005347/0.3332, allocations: 177.4 kB / 0.5653 GB, free: 15.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3332, allocations: 55.34 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.3334, allocations: 206.2 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.3334, allocations: 25.7 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.3335, allocations: 108.1 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.3335, allocations: 23.8 kB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.402e-05/0.3336, allocations: 25.7 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3337, allocations: 334.7 kB / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.697e-05/0.3338, allocations: 16 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.089e-05/0.3339, allocations: 37.7 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.334, allocations: 61.64 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.334, allocations: 0 / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001923/0.3342, allocations: 101.6 kB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3342, allocations: 7.984 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3342, allocations: 0 / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3342, allocations: 4 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.091e-05/0.3343, allocations: 15.94 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3343, allocations: 0 / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.3344, allocations: 8 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.3344, allocations: 3.984 kB / 0.5663 GB, free: 14.38 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.0001152/0.3345, allocations: 127.1 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.3345, allocations: 15.91 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.3348, allocations: 119 kB / 0.5666 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3348, allocations: 4 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3348, allocations: 0 / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3348, allocations: 0 / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/0.3352, allocations: 374.5 kB / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3352, allocations: 0 / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.3353, allocations: 8 kB / 0.5669 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3353, allocations: 4.031 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3353, allocations: 0 / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3353, allocations: 7.938 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3353, allocations: 3.984 kB / 0.567 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.3355, allocations: 200.3 kB / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.3355, allocations: 11.94 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.3355, allocations: 7.875 kB / 0.5672 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.3356, allocations: 16.31 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.3357, allocations: 7.984 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.3357, allocations: 0 / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.3358, allocations: 152.2 kB / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3358, allocations: 0 / 0.5673 GB, free: 13.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.3361, allocations: 23.94 kB / 0.5674 GB, free: 13.22 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.002066/0.3381, allocations: 1.086 MB / 0.5684 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.3383, allocations: 59.92 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3383, allocations: 4 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.478e-05/0.3384, allocations: 23.92 kB / 0.5685 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.3388, allocations: 31.92 kB / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.3408, allocations: 1.66 MB / 0.5702 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.3412, allocations: 0.708 MB / 0.5709 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.827e-05/0.3413, allocations: 8.984 kB / 0.5709 GB, free: 9.664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.851e-05/0.3414, allocations: 35.42 kB / 0.5709 GB, free: 9.629 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3414, allocations: 0 / 0.5709 GB, free: 9.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.3691, allocations: 3.634 MB / 0.5744 GB, free: 6.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.07, allocations: 6.344 kB / 0.5744 GB, free: 6.031 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.404252931999508]