Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001399/0.001399, allocations: 108.3 kB / 20.48 MB, free: 1.121 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.001434/0.001434, allocations: 213.2 kB / 23.78 MB, free: 4.324 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.492/1.492, allocations: 230.5 MB / 257.5 MB, free: 7.723 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.2388/0.2388, allocations: 46.95 MB / 360.9 MB, free: 3.898 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 79.88 kB / 0.4963 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3265, allocations: 66.08 MB / 0.5608 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003292/0.3298, allocations: 1.6 MB / 0.5624 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.331, allocations: 0.5422 MB / 0.5629 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.331, allocations: 4 kB / 0.5629 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.3312, allocations: 23.8 kB / 0.5629 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.3315, allocations: 75.67 kB / 0.563 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.3319, allocations: 123 kB / 0.5631 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.332, allocations: 75.78 kB / 0.5632 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3322, allocations: 9.812 kB / 0.5632 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.118e-05/0.3322, allocations: 35.78 kB / 0.5632 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.58e-05/0.3323, allocations: 27.86 kB / 0.5632 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.3323, allocations: 8 kB / 0.5633 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.3325, allocations: 91.94 kB / 0.5633 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.3326, allocations: 15.92 kB / 0.5634 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.128e-05/0.3326, allocations: 19.86 kB / 0.5634 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.3329, allocations: 143.5 kB / 0.5635 GB, free: 1.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3329, allocations: 0 / 0.5635 GB, free: 1.211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3329, allocations: 0 / 0.5635 GB, free: 1.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.3329, allocations: 0 / 0.5635 GB, free: 1.211 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.0005782/0.3335, allocations: 345.6 kB / 0.5638 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3335, allocations: 8.031 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.3336, allocations: 34.75 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.3336, allocations: 12.89 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.3338, allocations: 142.3 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3338, allocations: 384 / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.3339, allocations: 4.375 kB / 0.564 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.334, allocations: 85.67 kB / 0.5641 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.3341, allocations: 7.938 kB / 0.5641 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3341, allocations: 0 / 0.5641 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3341, allocations: 0 / 0.5641 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.721e-05/0.3342, allocations: 23.97 kB / 0.5641 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.3346, allocations: 260 kB / 0.5644 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3348, allocations: 54.48 kB / 0.5644 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.137e-05/0.3348, allocations: 24.94 kB / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3349, allocations: 0 / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3349, allocations: 30.56 kB / 0.5645 GB, free: 52 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.3349, allocations: 0 / 0.5645 GB, free: 52 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007005/0.3356, allocations: 193.3 kB / 0.5647 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.3356, allocations: 77.11 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.3358, allocations: 155.2 kB / 0.5649 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.3358, allocations: 25.7 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.3359, allocations: 96.12 kB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.3359, allocations: 23.8 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.336, allocations: 29.7 kB / 0.5651 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3362, allocations: 322.8 kB / 0.5654 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.424e-05/0.3362, allocations: 31.98 kB / 0.5654 GB, free: 15.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3364, allocations: 75.33 kB / 0.5655 GB, free: 14.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.3365, allocations: 72.81 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3365, allocations: 3.938 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000258/0.3368, allocations: 105.6 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3368, allocations: 11.94 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3368, allocations: 0 / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3368, allocations: 0 / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3369, allocations: 15.98 kB / 0.5657 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3369, allocations: 4.344 kB / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.503e-05/0.337, allocations: 7.984 kB / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.337, allocations: 4 kB / 0.5657 GB, free: 14.74 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 (8): * Single equations (assignments): 8 * 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.0001084/0.3371, allocations: 117.8 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.3372, allocations: 11.95 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.3375, allocations: 118.3 kB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.3375, allocations: 0 / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3375, allocations: 0 / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3375, allocations: 7.984 kB / 0.5659 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/0.338, allocations: 361.5 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.338, allocations: 0 / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.931e-05/0.3381, allocations: 15.98 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3381, allocations: 0 / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3381, allocations: 4 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.3381, allocations: 3.938 kB / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3381, allocations: 0 / 0.5663 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.3385, allocations: 199.7 kB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.3385, allocations: 3.953 kB / 0.5665 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.3385, allocations: 7.984 kB / 0.5665 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.3386, allocations: 11.94 kB / 0.5665 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.3386, allocations: 7.922 kB / 0.5665 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.3387, allocations: 4 kB / 0.5665 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.3388, allocations: 117.6 kB / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3388, allocations: 0 / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.3391, allocations: 43.86 kB / 0.5667 GB, free: 13.64 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 (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.002534/0.3416, allocations: 1.149 MB / 0.5678 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.3419, allocations: 71.88 kB / 0.5679 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3419, allocations: 0 / 0.5679 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.618e-05/0.342, allocations: 31.98 kB / 0.5679 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.3424, allocations: 23.3 kB / 0.5679 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/0.3444, allocations: 1.534 MB / 0.5694 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.3445, allocations: 79.33 kB / 0.5695 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.77e-05/0.3446, allocations: 25.17 kB / 0.5695 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.111e-05/0.3446, allocations: 32.47 kB / 0.5696 GB, free: 10.76 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3446, allocations: 0 / 0.5696 GB, free: 10.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.3777, allocations: 4.232 MB / 0.5737 GB, free: 6.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.03, allocations: 7.938 kB / 0.5737 GB, free: 6.512 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.264753563998966]