Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 107.7 kB / 17.78 MB, free: 5.27 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.001087/0.001087, allocations: 183.9 kB / 18.71 MB, free: 4.348 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.418/1.418, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2406/0.2406, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.83 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4222, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003687/0.4259, allocations: 1.59 MB / 0.5205 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.4276, allocations: 1.029 MB / 0.5215 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.4277, allocations: 1.156 kB / 0.5215 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.428, allocations: 24.36 kB / 0.5215 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.4282, allocations: 42.42 kB / 0.5215 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.4286, allocations: 116.5 kB / 0.5216 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.4288, allocations: 73.55 kB / 0.5217 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.4289, allocations: 21.27 kB / 0.5217 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.68e-05/0.429, allocations: 30.52 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.4291, allocations: 35.83 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.4292, allocations: 3.344 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.4293, allocations: 51.88 kB / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.4294, allocations: 19.55 kB / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.4294, allocations: 25.97 kB / 0.5219 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.4296, allocations: 102.8 kB / 0.522 GB, free: 1.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.4296, allocations: 0.5156 kB / 0.522 GB, free: 1.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4296, allocations: 3.938 kB / 0.522 GB, free: 1.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.4297, allocations: 0 / 0.522 GB, free: 1.516 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004695/0.4301, allocations: 386.2 kB / 0.5224 GB, free: 1.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.4302, allocations: 9 kB / 0.5224 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.4302, allocations: 13.31 kB / 0.5224 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.4304, allocations: 189 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.4304, allocations: 1.438 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.4305, allocations: 8.031 kB / 0.5226 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.4307, allocations: 79.84 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4307, allocations: 4.969 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.4307, allocations: 1.188 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4307, allocations: 1.219 kB / 0.5227 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.4309, allocations: 43.08 kB / 0.5227 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.4313, allocations: 305.1 kB / 0.523 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.4314, allocations: 51.33 kB / 0.523 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.035e-05/0.4315, allocations: 23.39 kB / 0.5231 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.4315, allocations: 1.344 kB / 0.5231 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.4316, allocations: 38.56 kB / 0.5231 GB, free: 460 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.114e-06/0.4316, allocations: 1.5 kB / 0.5231 GB, free: 460 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006789/0.4322, allocations: 193.2 kB / 0.5233 GB, free: 372 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.4323, allocations: 87.19 kB / 0.5234 GB, free: 268 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.4324, allocations: 142.3 kB / 0.5235 GB, free: 152 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.4324, allocations: 29.7 kB / 0.5235 GB, free: 116 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.4325, allocations: 97.88 kB / 0.5236 GB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.4325, allocations: 25.52 kB / 0.5237 GB, free: 0 / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.4326, allocations: 21.77 kB / 0.5237 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4327, allocations: 324 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.309e-05/0.4328, allocations: 26.88 kB / 0.524 GB, free: 15.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.4329, allocations: 47.33 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.4331, allocations: 74.19 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4331, allocations: 0 / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002395/0.4334, allocations: 112 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4334, allocations: 5.141 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4334, allocations: 1.094 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4334, allocations: 0 / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.4335, allocations: 20.98 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.4336, allocations: 5.969 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.4336, allocations: 4.688 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.4336, allocations: 2.312 kB / 0.5243 GB, free: 15.53 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 0.0001005/0.4337, allocations: 120.9 kB / 0.5244 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.4338, allocations: 8 kB / 0.5244 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.4341, allocations: 124.1 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4341, allocations: 6.188 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4341, allocations: 3.938 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4342, allocations: 1.641 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005875/0.4347, allocations: 395.2 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4348, allocations: 3.938 kB / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.88e-05/0.4348, allocations: 22.12 kB / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.4349, allocations: 8.719 kB / 0.5249 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4349, allocations: 1.719 kB / 0.5249 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4349, allocations: 4 kB / 0.5249 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4349, allocations: 0.6562 kB / 0.5249 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.4352, allocations: 204.3 kB / 0.5251 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.4353, allocations: 83.42 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.4353, allocations: 1.781 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-05/0.4354, allocations: 10.58 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.4354, allocations: 8.344 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.4354, allocations: 2.453 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.529e-05/0.4355, allocations: 106.2 kB / 0.5253 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4355, allocations: 5.156 kB / 0.5253 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003559/0.4359, allocations: 26.7 kB / 0.5254 GB, free: 14.61 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.001047/0.4369, allocations: 454.1 kB / 0.5258 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000269/0.4372, allocations: 68.22 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4372, allocations: 0 / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.4374, allocations: 42.8 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.4377, allocations: 18.81 kB / 0.5259 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.4382, allocations: 197.5 kB / 0.5261 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.4385, allocations: 0.6981 MB / 0.5268 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.953e-05/0.4386, allocations: 25.14 kB / 0.5268 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/0.4386, allocations: 15.64 kB / 0.5268 GB, free: 13.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4386, allocations: 1.375 kB / 0.5268 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.004596/0.4433, allocations: 1.477 MB / 0.5283 GB, free: 13.04 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches