Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0007887/0.0007887, allocations: 96.27 kB / 20.96 MB, free: 3.473 MB / 18.57 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.0008793/0.0008793, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 18.57 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 0.8642/0.8642, allocations: 177 MB / 204.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.2316/0.2316, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.7 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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 376.7 MB, free: 3.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.498e-05, allocations: 2.312 kB / 376.7 MB, free: 3.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002666/0.002681, allocations: 1.653 MB / 378.4 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.004254, allocations: 1.289 MB / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.638e-05/0.004311, allocations: 0 / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.004523, allocations: 31.78 kB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.004842, allocations: 91.48 kB / 379.8 MB, free: 312 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.005234, allocations: 175.5 kB / 380 MB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.00539, allocations: 75.77 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.005494, allocations: 15.97 kB / 380.1 MB, free: 44 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.787e-05/0.005571, allocations: 43.84 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.005681, allocations: 27.91 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.005699, allocations: 4 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.005857, allocations: 95.81 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.005921, allocations: 23.92 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.005958, allocations: 19.91 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.006226, allocations: 159.5 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.006228, allocations: 0 / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006229, allocations: 4 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.006234, allocations: 0 / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005135/0.006747, allocations: 345.5 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.00679, allocations: 12.03 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.006838, allocations: 42.72 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.006887, allocations: 12.83 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.00708, allocations: 149.6 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.00709, allocations: 384 / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.007116, allocations: 12.38 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.007274, allocations: 97.66 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.007282, allocations: 192 / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.007291, allocations: 4.359 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.007298, allocations: 4.125 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.551e-05/0.007374, allocations: 43.91 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.007658, allocations: 264 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.994e-05/0.007738, allocations: 50.55 kB / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/0.007779, allocations: 28.88 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.007797, allocations: 0 / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.007816, allocations: 34.56 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.007816, allocations: 3.938 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004923/0.008309, allocations: 241.3 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.008341, allocations: 81.11 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.008442, allocations: 156.7 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.008451, allocations: 25.7 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.008491, allocations: 96.09 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.00851, allocations: 27.78 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.008538, allocations: 25.66 kB / 382.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.008606, allocations: 318.8 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.84e-05/0.008664, allocations: 43.97 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.061e-05/0.008735, allocations: 79.38 kB / 382.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.008849, allocations: 88.95 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.00885, allocations: 0 / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001551/0.009005, allocations: 141.5 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.009016, allocations: 4 kB / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.00902, allocations: 0 / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.009032, allocations: 0 / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.009105, allocations: 19.98 kB / 382.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.009109, allocations: 0 / 382.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.786e-05/0.009146, allocations: 11.98 kB / 382.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.009151, allocations: 0 / 382.8 MB, free: 13.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.439e-05/0.009216, allocations: 133.8 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.009237, allocations: 7.953 kB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.009442, allocations: 138.3 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.009444, allocations: 4 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.009448, allocations: 0 / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.00945, allocations: 0 / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003197/0.00977, allocations: 381.5 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.009771, allocations: 0 / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.009815, allocations: 27.91 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.009816, allocations: 0 / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.009828, allocations: 4 kB / 383.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.009831, allocations: 4 kB / 383.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.009831, allocations: 0 / 383.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.01001, allocations: 227.4 kB / 383.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.01017, allocations: 16.22 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.01019, allocations: 0 / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.638e-05/0.01023, allocations: 4 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.01027, allocations: 15.97 kB / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.01027, allocations: 7.938 kB / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.944e-05/0.01033, allocations: 119.2 kB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01033, allocations: 0 / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.01052, allocations: 47.8 kB / 384 MB, free: 11.83 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001084/0.01161, allocations: 1.168 MB / 385.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.01178, allocations: 99.78 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.01178, allocations: 0 / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.274e-05/0.01185, allocations: 43.97 kB / 385.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.01207, allocations: 23.78 kB / 385.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.01358, allocations: 1.674 MB / 387 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.319e-05/0.01364, allocations: 87.31 kB / 387 MB, free: 8.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.244e-05/0.01371, allocations: 24.47 kB / 387.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/0.01378, allocations: 40.47 kB / 387.1 MB, free: 8.727 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01378, allocations: 0 / 387.1 MB, free: 8.727 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.02995, allocations: 4.454 MB / 391.6 MB, free: 4.266 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.901/6.931, allocations: 7.875 kB / 391.6 MB, free: 4.258 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.8390924166888]