Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001084/0.001084, 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.309/1.309, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001007/0.001007, allocations: 109.2 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3366/0.3366, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3146, allocations: 62.02 MB / 0.5152 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002886/0.3176, allocations: 1.794 MB / 0.5169 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.3189, allocations: 1.023 MB / 0.5179 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.3189, allocations: 4 kB / 0.5179 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.3192, allocations: 37.02 kB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002079/0.3194, allocations: 78.97 kB / 0.518 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.3196, allocations: 95.28 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.3198, allocations: 100.4 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.502e-05/0.3199, allocations: 16.55 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.964e-05/0.32, allocations: 44.2 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.32, allocations: 35.81 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.3201, allocations: 2.812 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.483e-05/0.3202, allocations: 45.89 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.3202, allocations: 16.95 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.141e-05/0.3203, allocations: 28.3 kB / 0.5184 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.3204, allocations: 108.9 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3204, allocations: 0 / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3204, allocations: 3.281 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.3204, allocations: 0 / 0.5185 GB, free: 35.54 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.0004146/0.3209, allocations: 427.3 kB / 0.5189 GB, free: 35.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.3209, allocations: 8.719 kB / 0.5189 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.3209, allocations: 11.59 kB / 0.5189 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3211, allocations: 209.9 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3211, allocations: 2.875 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.3212, allocations: 10.56 kB / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.3213, allocations: 52.95 kB / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3213, allocations: 0 / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3213, allocations: 4 kB / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3213, allocations: 6.625 kB / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.069e-05/0.3214, allocations: 23.05 kB / 0.5192 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.3217, allocations: 285 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.3219, allocations: 47.86 kB / 0.5195 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.3219, allocations: 24.16 kB / 0.5196 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.322, allocations: 6.562 kB / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.3221, allocations: 70.52 kB / 0.5196 GB, free: 34.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.3222, allocations: 0 / 0.5196 GB, free: 34.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005156/0.3227, allocations: 177.2 kB / 0.5198 GB, free: 34.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.3227, allocations: 51.41 kB / 0.5199 GB, free: 34.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3229, allocations: 184.3 kB / 0.52 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.3229, allocations: 29.7 kB / 0.5201 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.3229, allocations: 101.8 kB / 0.5202 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.323, allocations: 26.03 kB / 0.5202 GB, free: 34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.323, allocations: 26.84 kB / 0.5202 GB, free: 33.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.34e-05/0.3231, allocations: 327.3 kB / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.305e-05/0.3231, allocations: 16.28 kB / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-05/0.3232, allocations: 35.45 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.812e-05/0.3233, allocations: 67.84 kB / 0.5206 GB, free: 33.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3233, allocations: 0 / 0.5206 GB, free: 33.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001609/0.3235, allocations: 105.1 kB / 0.5207 GB, free: 33.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3235, allocations: 5.594 kB / 0.5207 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3235, allocations: 3.062 kB / 0.5207 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3235, allocations: 3.938 kB / 0.5207 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.3236, allocations: 14.81 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3236, allocations: 2.969 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.3237, allocations: 7.969 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3237, allocations: 2.812 kB / 0.5208 GB, free: 33.51 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 8.022e-05/0.3238, allocations: 129.8 kB / 0.5209 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.3238, allocations: 9.719 kB / 0.5209 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.3239, allocations: 18.66 kB / 0.5209 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.3239, allocations: 3.938 kB / 0.5209 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3239, allocations: 0 / 0.5209 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3239, allocations: 3.938 kB / 0.5209 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.3243, allocations: 400.3 kB / 0.5213 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3243, allocations: 2.781 kB / 0.5213 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.3243, allocations: 9.531 kB / 0.5213 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3243, allocations: 2.969 kB / 0.5213 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3243, allocations: 3.938 kB / 0.5213 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3243, allocations: 3.172 kB / 0.5213 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3243, allocations: 0 / 0.5213 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.3247, allocations: 0.7893 MB / 0.5221 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.3247, allocations: 83.98 kB / 0.5222 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.3247, allocations: 6.281 kB / 0.5222 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.537e-05/0.3248, allocations: 2.844 kB / 0.5222 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.3248, allocations: 10.16 kB / 0.5222 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3249, allocations: 6.812 kB / 0.5222 GB, free: 32.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.621e-05/0.3249, allocations: 138.7 kB / 0.5223 GB, free: 32.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3249, allocations: 3.938 kB / 0.5223 GB, free: 32.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003356/0.3253, allocations: 20.53 kB / 0.5224 GB, free: 32.03 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.0008668/0.3262, allocations: 466.8 kB / 0.5228 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.3263, allocations: 61.58 kB / 0.5229 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3263, allocations: 0 / 0.5229 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.694e-05/0.3264, allocations: 32.94 kB / 0.5229 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.3267, allocations: 24.72 kB / 0.5229 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003719/0.3271, allocations: 372 kB / 0.5233 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.3272, allocations: 0.7077 MB / 0.524 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.629e-05/0.3273, allocations: 17.11 kB / 0.524 GB, free: 30.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.3273, allocations: 19.77 kB / 0.524 GB, free: 30.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3273, allocations: 0 / 0.524 GB, free: 30.73 MB / 378.7 MB Notification: Performance of Templates: time 0.003389/0.3307, allocations: 1.69 MB / 0.5257 GB, free: 30.55 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches