Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001145, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001127, allocations: 103.4 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3434/0.3434, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 63.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3168, allocations: 62.01 MB / 0.5152 GB, free: 37.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002639/0.3195, allocations: 1.806 MB / 0.5169 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.3208, allocations: 1.022 MB / 0.5179 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/0.3209, allocations: 0 / 0.5179 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.3212, allocations: 47.36 kB / 0.518 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.3215, allocations: 89.98 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.3217, allocations: 90.91 kB / 0.5181 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.3219, allocations: 99.88 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.322, allocations: 15.89 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.799e-05/0.3221, allocations: 47.17 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.3222, allocations: 32.69 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.3222, allocations: 2.656 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.852e-05/0.3223, allocations: 46.75 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.3224, allocations: 21.91 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.769e-05/0.3224, allocations: 39.09 kB / 0.5184 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.3226, allocations: 125.7 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3226, allocations: 3.422 kB / 0.5186 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.3226, allocations: 0 / 0.5186 GB, free: 35.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.3226, allocations: 4 kB / 0.5186 GB, free: 35.53 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005547/0.3232, allocations: 430.6 kB / 0.519 GB, free: 35.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3232, allocations: 8.656 kB / 0.519 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.3233, allocations: 16 kB / 0.519 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.3235, allocations: 210.2 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.3235, allocations: 7.344 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.3235, allocations: 6.844 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.3237, allocations: 63.61 kB / 0.5193 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3237, allocations: 4 kB / 0.5193 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3237, allocations: 0 / 0.5193 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3237, allocations: 2.781 kB / 0.5193 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.847e-05/0.3238, allocations: 15.53 kB / 0.5193 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.3241, allocations: 292 kB / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.3243, allocations: 59.94 kB / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.3243, allocations: 24.67 kB / 0.5196 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.3244, allocations: 0 / 0.5196 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.3246, allocations: 67.69 kB / 0.5197 GB, free: 34.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.3246, allocations: 0 / 0.5197 GB, free: 34.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000515/0.3251, allocations: 189.6 kB / 0.5199 GB, free: 34.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.3251, allocations: 51.41 kB / 0.5199 GB, free: 34.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.3253, allocations: 237 kB / 0.5202 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3254, allocations: 31.77 kB / 0.5202 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.3254, allocations: 109.1 kB / 0.5203 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.3254, allocations: 22.47 kB / 0.5203 GB, free: 33.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.3255, allocations: 33.45 kB / 0.5204 GB, free: 33.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.919e-05/0.3256, allocations: 325 kB / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.326e-05/0.3256, allocations: 22.58 kB / 0.5207 GB, free: 33.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.708e-05/0.3257, allocations: 43.41 kB / 0.5207 GB, free: 33.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.522e-05/0.3258, allocations: 58.59 kB / 0.5208 GB, free: 33.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3258, allocations: 0 / 0.5208 GB, free: 33.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001514/0.3259, allocations: 109.9 kB / 0.5209 GB, free: 33.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.326, allocations: 6.719 kB / 0.5209 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.326, allocations: 0 / 0.5209 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.326, allocations: 0 / 0.5209 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.964e-05/0.3261, allocations: 22.5 kB / 0.5209 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3261, allocations: 0 / 0.5209 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.3262, allocations: 6.625 kB / 0.5209 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3262, allocations: 6.906 kB / 0.5209 GB, free: 33.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.244e-05/0.3263, allocations: 131.6 kB / 0.5211 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.3263, allocations: 13.88 kB / 0.5211 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.916e-05/0.3264, allocations: 25.02 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3264, allocations: 0 / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3264, allocations: 0 / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3264, allocations: 7.938 kB / 0.5211 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.3268, allocations: 393.1 kB / 0.5215 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3268, allocations: 0 / 0.5215 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.3268, allocations: 8.312 kB / 0.5215 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3268, allocations: 0 / 0.5215 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.3268, allocations: 9.703 kB / 0.5215 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3268, allocations: 0 / 0.5215 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3268, allocations: 2.781 kB / 0.5215 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.3273, allocations: 0.7973 MB / 0.5223 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.3273, allocations: 83.77 kB / 0.5223 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.3273, allocations: 7.062 kB / 0.5224 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-05/0.3274, allocations: 2.875 kB / 0.5224 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3274, allocations: 10.7 kB / 0.5224 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.3275, allocations: 3 kB / 0.5224 GB, free: 32.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3276, allocations: 181.8 kB / 0.5225 GB, free: 31.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3276, allocations: 0 / 0.5225 GB, free: 31.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003461/0.3279, allocations: 22.47 kB / 0.5226 GB, free: 31.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009571/0.3289, allocations: 474.8 kB / 0.523 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.3291, allocations: 56.3 kB / 0.5231 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3291, allocations: 0 / 0.5231 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.915e-05/0.3291, allocations: 33.33 kB / 0.5231 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.3295, allocations: 24.89 kB / 0.5231 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.3299, allocations: 426.5 kB / 0.5235 GB, free: 31.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.3301, allocations: 0.7127 MB / 0.5242 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.94e-05/0.3301, allocations: 15.77 kB / 0.5242 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.3302, allocations: 13.31 kB / 0.5243 GB, free: 30.65 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3302, allocations: 3.938 kB / 0.5243 GB, free: 30.65 MB / 378.7 MB Notification: Performance of Templates: time 0.003909/0.3341, allocations: 1.717 MB / 0.5259 GB, free: 30.46 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches