Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.001348/0.001348, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001485/0.001485, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2233/0.2233, allocations: 46.93 MB / 360.9 MB, free: 4.254 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.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.89 kB / 0.4962 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.316, allocations: 66.05 MB / 0.5607 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003155/0.3192, allocations: 1.605 MB / 0.5622 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3204, allocations: 0.5581 MB / 0.5628 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.3204, allocations: 4 kB / 0.5628 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002057/0.3206, allocations: 23.86 kB / 0.5628 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.3209, allocations: 87.61 kB / 0.5629 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.3212, allocations: 103.7 kB / 0.563 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.3213, allocations: 67.78 kB / 0.5631 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.439e-05/0.3214, allocations: 13.81 kB / 0.5631 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.998e-05/0.3215, allocations: 23.88 kB / 0.5631 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.3215, allocations: 27.84 kB / 0.5631 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.3216, allocations: 4 kB / 0.5631 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.651e-05/0.3216, allocations: 35.98 kB / 0.5632 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.3217, allocations: 19.92 kB / 0.5632 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.3217, allocations: 23.8 kB / 0.5632 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.322, allocations: 87.59 kB / 0.5633 GB, free: 1.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.322, allocations: 4 kB / 0.5633 GB, free: 1.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.322, allocations: 0 / 0.5633 GB, free: 1.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.322, allocations: 0 / 0.5633 GB, free: 1.746 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005207/0.3225, allocations: 321.8 kB / 0.5636 GB, free: 1.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3226, allocations: 8.031 kB / 0.5636 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.3226, allocations: 30.75 kB / 0.5636 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.3227, allocations: 16.83 kB / 0.5636 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.3229, allocations: 138.9 kB / 0.5638 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.3229, allocations: 8.125 kB / 0.5638 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.3229, allocations: 4 kB / 0.5638 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.3231, allocations: 49.67 kB / 0.5638 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3231, allocations: 0 / 0.5638 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3231, allocations: 4 kB / 0.5638 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3231, allocations: 7.938 kB / 0.5638 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.3232, allocations: 23.92 kB / 0.5639 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.3237, allocations: 256 kB / 0.5641 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.3239, allocations: 42.56 kB / 0.5642 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/0.324, allocations: 28.88 kB / 0.5642 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.324, allocations: 3.938 kB / 0.5642 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.324, allocations: 30.56 kB / 0.5642 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.324, allocations: 0 / 0.5642 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006245/0.3246, allocations: 157.4 kB / 0.5644 GB, free: 0.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.3247, allocations: 51.41 kB / 0.5644 GB, free: 448 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.3249, allocations: 183.7 kB / 0.5646 GB, free: 252 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.3249, allocations: 29.69 kB / 0.5646 GB, free: 216 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.164e-05/0.325, allocations: 100.1 kB / 0.5647 GB, free: 112 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.325, allocations: 15.89 kB / 0.5647 GB, free: 96 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.3251, allocations: 17.72 kB / 0.5647 GB, free: 72 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3252, allocations: 322.8 kB / 0.5651 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.3253, allocations: 19.98 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.399e-05/0.3254, allocations: 23.98 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.3255, allocations: 48.83 kB / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3255, allocations: 0 / 0.5651 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002011/0.3257, allocations: 97.5 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3257, allocations: 4 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3258, allocations: 0 / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3258, allocations: 0 / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.736e-05/0.3258, allocations: 19.98 kB / 0.5653 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3258, allocations: 3.938 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.3259, allocations: 4 kB / 0.5653 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.3259, allocations: 0 / 0.5653 GB, free: 15.52 MB / 414.1 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 (5): * Single equations (assignments): 5 * 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.0001203/0.326, allocations: 121.8 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.326, allocations: 7.953 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.3263, allocations: 106.2 kB / 0.5655 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3263, allocations: 4 kB / 0.5655 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.3263, allocations: 3.938 kB / 0.5655 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3263, allocations: 0 / 0.5655 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/0.3269, allocations: 333.6 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3269, allocations: 0 / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.403e-05/0.3269, allocations: 23.86 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3269, allocations: 3.938 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.3269, allocations: 0 / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3269, allocations: 4 kB / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3269, allocations: 0 / 0.5658 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.3272, allocations: 179.5 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.3272, allocations: 16.19 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3272, allocations: 3.938 kB / 0.566 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.879e-05/0.3273, allocations: 7.984 kB / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.3273, allocations: 7.984 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.3273, allocations: 4 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.3275, allocations: 135.2 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3275, allocations: 0 / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.3277, allocations: 19.92 kB / 0.5662 GB, free: 14.47 MB / 414.1 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 (5): * Single equations (assignments): 5 * 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.002014/0.3297, allocations: 1.016 MB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.33, allocations: 51.97 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.33, allocations: 0 / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/0.3301, allocations: 31.91 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.3305, allocations: 15.94 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.3324, allocations: 1.521 MB / 0.5688 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3327, allocations: 0.6963 MB / 0.5695 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.646e-05/0.3328, allocations: 16.05 kB / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/0.3329, allocations: 27.42 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3329, allocations: 4 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.3604, allocations: 2.838 MB / 0.5723 GB, free: 8.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.44, allocations: 15.52 kB / 0.5723 GB, free: 8.332 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.529618013999425]