Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.00145/0.00145, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00152/0.00152, allocations: 211.7 kB / 23.74 MB, free: 4.672 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.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2497/0.2497, allocations: 46.93 MB / 360.9 MB, free: 4.266 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.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 71.89 kB / 0.4962 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3527, allocations: 66.03 MB / 0.5607 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.003136/0.3558, allocations: 1.624 MB / 0.5623 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.3579, allocations: 1.267 MB / 0.5635 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.358, allocations: 0 / 0.5635 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.3582, allocations: 19.86 kB / 0.5635 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.3585, allocations: 87.61 kB / 0.5636 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.3588, allocations: 115.7 kB / 0.5637 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.359, allocations: 67.78 kB / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3591, allocations: 13.81 kB / 0.5638 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.3592, allocations: 27.91 kB / 0.5638 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.3594, allocations: 31.86 kB / 0.5638 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.3594, allocations: 4 kB / 0.5638 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.3596, allocations: 103.9 kB / 0.5639 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.3596, allocations: 15.92 kB / 0.564 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.919e-05/0.3597, allocations: 23.86 kB / 0.564 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.36, allocations: 143.4 kB / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.36, allocations: 0 / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.36, allocations: 4 kB / 0.5641 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.36, allocations: 0 / 0.5641 GB, free: 0.9258 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.0005066/0.3605, allocations: 329.6 kB / 0.5644 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3605, allocations: 12.03 kB / 0.5644 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.3606, allocations: 34.75 kB / 0.5645 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.3606, allocations: 8.891 kB / 0.5645 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.3608, allocations: 138.3 kB / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.3608, allocations: 4.375 kB / 0.5646 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.3608, allocations: 4.375 kB / 0.5646 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.361, allocations: 67.28 kB / 0.5647 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.361, allocations: 4 kB / 0.5647 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.361, allocations: 4 kB / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.361, allocations: 0 / 0.5647 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.36e-05/0.3611, allocations: 23.97 kB / 0.5647 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.3615, allocations: 252 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.3617, allocations: 50.5 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.3618, allocations: 16.94 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.3618, allocations: 0 / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3618, allocations: 34.56 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.3618, allocations: 0 / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005817/0.3624, allocations: 153.4 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.3625, allocations: 77.11 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.3626, allocations: 144.5 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.3627, allocations: 29.7 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.3627, allocations: 96.06 kB / 0.5655 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.3628, allocations: 23.84 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.3628, allocations: 17.72 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3629, allocations: 326.8 kB / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.42e-05/0.363, allocations: 19.98 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.944e-05/0.3631, allocations: 41.62 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.3632, allocations: 52.83 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3632, allocations: 192 / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001929/0.3634, allocations: 89.64 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3635, allocations: 8 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.3635, allocations: 0 / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3635, allocations: 0 / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.604e-05/0.3635, allocations: 11.94 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3636, allocations: 7.984 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.3636, allocations: 7.938 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.3636, allocations: 4 kB / 0.5661 GB, free: 14.66 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 9.866e-05/0.3637, allocations: 121.8 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.3637, allocations: 7.953 kB / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.364, allocations: 94.05 kB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.364, allocations: 4 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.364, allocations: 0 / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.364, allocations: 4.219 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.3645, allocations: 329.6 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3645, allocations: 0 / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-05/0.3645, allocations: 19.92 kB / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3645, allocations: 3.984 kB / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3645, allocations: 7.938 kB / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3645, allocations: 0 / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3645, allocations: 0 / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.3648, allocations: 187.4 kB / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.3648, allocations: 8.203 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.3648, allocations: 3.938 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.114e-05/0.3649, allocations: 15.98 kB / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.3649, allocations: 0 / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.3649, allocations: 0 / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.365, allocations: 115.2 kB / 0.567 GB, free: 13.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.365, allocations: 0 / 0.567 GB, free: 13.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.3653, allocations: 39.86 kB / 0.567 GB, free: 13.63 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.002195/0.3675, allocations: 1.112 MB / 0.5681 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3677, allocations: 55.83 kB / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3677, allocations: 0 / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.614e-05/0.3678, allocations: 27.98 kB / 0.5682 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.3682, allocations: 19.92 kB / 0.5682 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.37, allocations: 1.45 MB / 0.5696 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3703, allocations: 0.6885 MB / 0.5703 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.353e-05/0.3704, allocations: 27.98 kB / 0.5703 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.3704, allocations: 27.41 kB / 0.5704 GB, free: 10.29 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3704, allocations: 0 / 0.5704 GB, free: 10.29 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.4032, allocations: 3.409 MB / 0.5737 GB, free: 6.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.51, allocations: 14.39 kB / 0.5737 GB, free: 6.902 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test33_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.586767330998555]