Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001839/0.001839, allocations: 183 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.291/1.291, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2029/0.2029, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 63.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3305, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.002687/0.3332, allocations: 1.571 MB / 0.5204 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3346, allocations: 1.032 MB / 0.5215 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.3346, allocations: 9.406 kB / 0.5215 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.3348, allocations: 19.11 kB / 0.5215 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.335, allocations: 45.77 kB / 0.5215 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.3353, allocations: 103.2 kB / 0.5216 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000133/0.3355, allocations: 51.86 kB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3356, allocations: 17.8 kB / 0.5217 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.711e-05/0.3356, allocations: 26.98 kB / 0.5217 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.3358, allocations: 24.41 kB / 0.5217 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.3358, allocations: 3.938 kB / 0.5217 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.3359, allocations: 49.81 kB / 0.5218 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.336, allocations: 13.38 kB / 0.5218 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.336, allocations: 21.38 kB / 0.5218 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.3362, allocations: 90.61 kB / 0.5219 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3362, allocations: 1.156 kB / 0.5219 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3362, allocations: 0 / 0.5219 GB, free: 1.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3362, allocations: 3.938 kB / 0.5219 GB, free: 1.559 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003837/0.3366, allocations: 380.8 kB / 0.5223 GB, free: 1.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3366, allocations: 10.69 kB / 0.5223 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.3367, allocations: 11.77 kB / 0.5223 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.3368, allocations: 190 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3368, allocations: 1.875 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.3369, allocations: 1.844 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.337, allocations: 66.92 kB / 0.5225 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.337, allocations: 11.89 kB / 0.5226 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.337, allocations: 6.016 kB / 0.5226 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.337, allocations: 0 / 0.5226 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.546e-05/0.3371, allocations: 23.47 kB / 0.5226 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002806/0.3374, allocations: 275.4 kB / 0.5229 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.3376, allocations: 50.09 kB / 0.5229 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.3377, allocations: 22.73 kB / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.3377, allocations: 0.7969 kB / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.3377, allocations: 35.69 kB / 0.523 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.3377, allocations: 0 / 0.523 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005302/0.3383, allocations: 147.4 kB / 0.5231 GB, free: 448 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.3383, allocations: 83.08 kB / 0.5232 GB, free: 348 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.3384, allocations: 135.3 kB / 0.5233 GB, free: 232 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.074e-06/0.3384, allocations: 25.7 kB / 0.5233 GB, free: 200 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.3385, allocations: 93.3 kB / 0.5234 GB, free: 108 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.3385, allocations: 15.25 kB / 0.5234 GB, free: 96 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.3385, allocations: 19.06 kB / 0.5235 GB, free: 76 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3386, allocations: 324.1 kB / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.3387, allocations: 23.92 kB / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.3388, allocations: 33.69 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.3389, allocations: 51.98 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3389, allocations: 0 / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000175/0.3391, allocations: 88.17 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3391, allocations: 10.03 kB / 0.524 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.3392, allocations: 0 / 0.524 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3392, allocations: 1.516 kB / 0.524 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.974e-05/0.3392, allocations: 12.42 kB / 0.524 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3392, allocations: 0 / 0.524 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.323e-05/0.3393, allocations: 5.25 kB / 0.524 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.3393, allocations: 6.219 kB / 0.524 GB, free: 15.65 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 (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 7.629e-05/0.3394, allocations: 118.8 kB / 0.5241 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.3394, allocations: 7.578 kB / 0.5241 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.3397, allocations: 101.4 kB / 0.5242 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3397, allocations: 1.781 kB / 0.5242 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.3397, allocations: 0 / 0.5242 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3397, allocations: 0.6094 kB / 0.5242 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.3401, allocations: 353.5 kB / 0.5245 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3401, allocations: 1.25 kB / 0.5245 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.344e-05/0.3402, allocations: 19.38 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3402, allocations: 1 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.3402, allocations: 1.969 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3402, allocations: 3.938 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3402, allocations: 0 / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.3404, allocations: 181.2 kB / 0.5247 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.3404, allocations: 85.11 kB / 0.5248 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.3405, allocations: 4.703 kB / 0.5248 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.3405, allocations: 9.031 kB / 0.5248 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.3406, allocations: 4.734 kB / 0.5248 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.3406, allocations: 10.28 kB / 0.5248 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.435e-05/0.3407, allocations: 102.3 kB / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3407, allocations: 0 / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.3409, allocations: 21.14 kB / 0.525 GB, free: 14.77 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 (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.0009072/0.3418, allocations: 453.6 kB / 0.5254 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.342, allocations: 48.61 kB / 0.5254 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.342, allocations: 0 / 0.5254 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.728e-05/0.3421, allocations: 30.66 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.3424, allocations: 21.92 kB / 0.5255 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.3428, allocations: 170.1 kB / 0.5257 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.343, allocations: 0.6922 MB / 0.5263 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.494e-05/0.3431, allocations: 13.62 kB / 0.5263 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.3431, allocations: 18.47 kB / 0.5264 GB, free: 13.68 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3431, allocations: 0 / 0.5264 GB, free: 13.68 MB / 398.1 MB Notification: Performance of Templates: time 0.003658/0.3468, allocations: 1.369 MB / 0.5277 GB, free: 13.34 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches