Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 114.4 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 183.8 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1897/0.1897, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 59.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3253, allocations: 60.82 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003334/0.3286, allocations: 1.589 MB / 0.5205 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3301, allocations: 1.02 MB / 0.5215 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.3302, allocations: 5.094 kB / 0.5215 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.3305, allocations: 24.44 kB / 0.5215 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.3307, allocations: 42.14 kB / 0.5215 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.331, allocations: 88.3 kB / 0.5216 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.3312, allocations: 61.33 kB / 0.5217 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3313, allocations: 18.59 kB / 0.5217 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.293e-05/0.3314, allocations: 36.86 kB / 0.5217 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.3317, allocations: 26.72 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.3317, allocations: 4.281 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.3319, allocations: 54.62 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.3319, allocations: 10.58 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.332, allocations: 27.22 kB / 0.5218 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.3322, allocations: 94.83 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3322, allocations: 0.75 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3322, allocations: 4.938 kB / 0.5219 GB, free: 1.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3323, allocations: 3.938 kB / 0.5219 GB, free: 1.562 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004131/0.3327, allocations: 393.8 kB / 0.5223 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3327, allocations: 9 kB / 0.5223 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.3328, allocations: 10.33 kB / 0.5223 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.3329, allocations: 186.8 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3329, allocations: 1.75 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.333, allocations: 4 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3331, allocations: 85.09 kB / 0.5226 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3332, allocations: 4.656 kB / 0.5226 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.3332, allocations: 0 / 0.5226 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3332, allocations: 1.406 kB / 0.5226 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.3333, allocations: 30.48 kB / 0.5226 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.3336, allocations: 296.7 kB / 0.5229 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.3337, allocations: 52.11 kB / 0.523 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.93e-05/0.3338, allocations: 27.56 kB / 0.523 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.3338, allocations: 2.531 kB / 0.523 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3338, allocations: 32.86 kB / 0.523 GB, free: 500 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.3339, allocations: 0 / 0.523 GB, free: 500 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005782/0.3344, allocations: 177.4 kB / 0.5232 GB, free: 416 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.3345, allocations: 82.2 kB / 0.5233 GB, free: 316 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.3346, allocations: 143.4 kB / 0.5234 GB, free: 196 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.3346, allocations: 31.64 kB / 0.5234 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.3347, allocations: 92.14 kB / 0.5235 GB, free: 68 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.3347, allocations: 29.3 kB / 0.5236 GB, free: 44 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.3347, allocations: 22.08 kB / 0.5236 GB, free: 24 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3349, allocations: 319.4 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.565e-05/0.3349, allocations: 26.72 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.07e-05/0.335, allocations: 39.41 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3352, allocations: 68.75 kB / 0.524 GB, free: 15.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3352, allocations: 0 / 0.524 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001985/0.3354, allocations: 101 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.3354, allocations: 4.312 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3354, allocations: 5.094 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3355, allocations: 4.641 kB / 0.5241 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.3356, allocations: 17.44 kB / 0.5241 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3356, allocations: 1.062 kB / 0.5241 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.3356, allocations: 9.297 kB / 0.5242 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.3356, allocations: 2.094 kB / 0.5242 GB, free: 15.58 MB / 398.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 7.792e-05/0.3357, allocations: 119.5 kB / 0.5243 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.3358, allocations: 12.7 kB / 0.5243 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.336, allocations: 112.7 kB / 0.5244 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.336, allocations: 1.781 kB / 0.5244 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.336, allocations: 0 / 0.5244 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3361, allocations: 4.547 kB / 0.5244 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.3365, allocations: 382.3 kB / 0.5248 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3365, allocations: 4.141 kB / 0.5248 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.965e-05/0.3366, allocations: 13.7 kB / 0.5248 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3366, allocations: 9.125 kB / 0.5248 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3366, allocations: 1.031 kB / 0.5248 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3366, allocations: 2.203 kB / 0.5248 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3366, allocations: 0 / 0.5248 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.3368, allocations: 201.9 kB / 0.525 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.3369, allocations: 82.88 kB / 0.5251 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.3369, allocations: 6.141 kB / 0.5251 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.337, allocations: 12.66 kB / 0.5251 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.337, allocations: 10.3 kB / 0.5251 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.337, allocations: 5.781 kB / 0.5251 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.859e-05/0.3371, allocations: 110.1 kB / 0.5252 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3371, allocations: 0 / 0.5252 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.3374, allocations: 25.84 kB / 0.5252 GB, free: 14.67 MB / 398.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 (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 Backend phase and start with SimCode phase: time 0.0009585/0.3384, allocations: 438.6 kB / 0.5256 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.3386, allocations: 64.38 kB / 0.5257 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3386, allocations: 1.062 kB / 0.5257 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.676e-05/0.3387, allocations: 34.67 kB / 0.5257 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.339, allocations: 21.72 kB / 0.5258 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.3395, allocations: 187.8 kB / 0.5259 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.3398, allocations: 0.6996 MB / 0.5266 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.766e-05/0.3398, allocations: 19.61 kB / 0.5266 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.3399, allocations: 20.59 kB / 0.5267 GB, free: 13.55 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3399, allocations: 0 / 0.5267 GB, free: 13.55 MB / 398.1 MB Notification: Performance of Templates: time 0.003832/0.3437, allocations: 1.459 MB / 0.5281 GB, free: 13.14 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches