Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001317, 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.327/1.327, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 101.4 kB / 296.7 MB, free: 6.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3648/0.3648, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 67.88 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.331, allocations: 62.02 MB / 0.5152 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002591/0.3337, allocations: 1.756 MB / 0.5169 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3351, allocations: 1.002 MB / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.3352, allocations: 0 / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.3355, allocations: 69.28 kB / 0.5179 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.3357, allocations: 85.14 kB / 0.518 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.336, allocations: 91.73 kB / 0.5181 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3361, allocations: 102.3 kB / 0.5182 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.3362, allocations: 6.531 kB / 0.5182 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.3e-05/0.3363, allocations: 48.09 kB / 0.5182 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.662e-05/0.3364, allocations: 39.33 kB / 0.5183 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.3364, allocations: 4 kB / 0.5183 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.309e-05/0.3365, allocations: 40.3 kB / 0.5183 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.442e-05/0.3366, allocations: 16.83 kB / 0.5183 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.3366, allocations: 35.67 kB / 0.5184 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.3368, allocations: 100.3 kB / 0.5185 GB, free: 35.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3368, allocations: 0 / 0.5185 GB, free: 35.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3368, allocations: 0 / 0.5185 GB, free: 35.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.3369, allocations: 3.938 kB / 0.5185 GB, free: 35.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005349/0.3374, allocations: 406.8 kB / 0.5189 GB, free: 35.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3374, allocations: 12.62 kB / 0.5189 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.3375, allocations: 11.62 kB / 0.5189 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.3377, allocations: 215.8 kB / 0.5191 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.3378, allocations: 8.297 kB / 0.5191 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.3378, allocations: 10.22 kB / 0.5191 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.3379, allocations: 46.64 kB / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3379, allocations: 0 / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.338, allocations: 0 / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.338, allocations: 0 / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.876e-05/0.338, allocations: 16.31 kB / 0.5192 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.3382, allocations: 184.5 kB / 0.5193 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.3384, allocations: 57.48 kB / 0.5194 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.3384, allocations: 21.64 kB / 0.5194 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3385, allocations: 0 / 0.5194 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.3386, allocations: 66.03 kB / 0.5195 GB, free: 34.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.3387, allocations: 0 / 0.5195 GB, free: 34.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002609/0.3389, allocations: 98.97 kB / 0.5196 GB, free: 34.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.339, allocations: 58.53 kB / 0.5196 GB, free: 34.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.3391, allocations: 190.5 kB / 0.5198 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.3391, allocations: 28.58 kB / 0.5198 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.3392, allocations: 98.5 kB / 0.5199 GB, free: 34.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.3392, allocations: 18.05 kB / 0.5199 GB, free: 34.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.3392, allocations: 27.41 kB / 0.52 GB, free: 34.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.3393, allocations: 320.9 kB / 0.5203 GB, free: 34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.649e-05/0.3393, allocations: 16.05 kB / 0.5203 GB, free: 33.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.758e-05/0.3394, allocations: 29.75 kB / 0.5203 GB, free: 33.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.3395, allocations: 38.42 kB / 0.5204 GB, free: 33.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3395, allocations: 6.938 kB / 0.5204 GB, free: 33.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001265/0.3396, allocations: 89.5 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3397, allocations: 5.812 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3397, allocations: 0 / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3397, allocations: 0 / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.837e-05/0.3398, allocations: 12.47 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3398, allocations: 6.844 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.3398, allocations: 3 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.3398, allocations: 0 / 0.5205 GB, free: 33.88 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 (7): * Single equations (assignments): 7 * 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.125e-05/0.3399, allocations: 131.3 kB / 0.5206 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.3399, allocations: 9.594 kB / 0.5206 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.34, allocations: 18.88 kB / 0.5206 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.34, allocations: 0 / 0.5206 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.207e-06/0.34, allocations: 3.938 kB / 0.5206 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.34, allocations: 3.75 kB / 0.5206 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.3401, allocations: 191.2 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3401, allocations: 0 / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.3401, allocations: 2.75 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3401, allocations: 0 / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3401, allocations: 6.906 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3402, allocations: 0 / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3402, allocations: 0 / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.3405, allocations: 0.6886 MB / 0.5215 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.3405, allocations: 87.86 kB / 0.5216 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.3406, allocations: 0 / 0.5216 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.549e-05/0.3406, allocations: 13.97 kB / 0.5216 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.3407, allocations: 0 / 0.5216 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3407, allocations: 6.562 kB / 0.5216 GB, free: 32.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.169e-05/0.3408, allocations: 154.1 kB / 0.5218 GB, free: 32.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3408, allocations: 3.938 kB / 0.5218 GB, free: 32.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.3411, allocations: 17.78 kB / 0.5218 GB, free: 32.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0007985/0.3419, allocations: 409.9 kB / 0.5222 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.342, allocations: 47.59 kB / 0.5222 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.342, allocations: 0 / 0.5222 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.295e-05/0.3421, allocations: 25.22 kB / 0.5222 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.3423, allocations: 23.25 kB / 0.5223 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/0.3427, allocations: 329.6 kB / 0.5226 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.3428, allocations: 0.704 MB / 0.5233 GB, free: 31.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.864e-05/0.3429, allocations: 13.77 kB / 0.5233 GB, free: 31.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.3429, allocations: 13.12 kB / 0.5233 GB, free: 31.39 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3429, allocations: 2.906 kB / 0.5233 GB, free: 31.39 MB / 378.7 MB Notification: Performance of Templates: time 0.003275/0.3462, allocations: 1.49 MB / 0.5247 GB, free: 31.2 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches