Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.12 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 83.81 kB / 482.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3431, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003773/0.3469, allocations: 1.944 MB / 0.5336 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.3489, allocations: 1.054 MB / 0.5346 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.3491, allocations: 6.438 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000355/0.3495, allocations: 45.14 kB / 0.5347 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004201/0.3499, allocations: 98.52 kB / 0.5348 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.3503, allocations: 98.28 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.3506, allocations: 144.8 kB / 0.535 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.3507, allocations: 34.56 kB / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.3509, allocations: 57.66 kB / 0.5351 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.351, allocations: 44.06 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.351, allocations: 8.25 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.3512, allocations: 50.22 kB / 0.5352 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.173e-05/0.3513, allocations: 30.8 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.873e-05/0.3514, allocations: 55.92 kB / 0.5353 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000304/0.3517, allocations: 152.9 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3517, allocations: 0 / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3517, allocations: 0 / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.3517, allocations: 1.375 kB / 0.5354 GB, free: 10.7 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000773/0.3525, allocations: 478.3 kB / 0.5359 GB, free: 10.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3525, allocations: 9.625 kB / 0.5359 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.3526, allocations: 20.98 kB / 0.5359 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.353, allocations: 243.5 kB / 0.5362 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.353, allocations: 7.125 kB / 0.5362 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.353, allocations: 9.625 kB / 0.5362 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.3533, allocations: 105.2 kB / 0.5363 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3533, allocations: 5 kB / 0.5363 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.3533, allocations: 5.406 kB / 0.5363 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3533, allocations: 1.375 kB / 0.5363 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.3535, allocations: 50.17 kB / 0.5363 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006326/0.3542, allocations: 0.5003 MB / 0.5368 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.3545, allocations: 92.25 kB / 0.5369 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/0.3546, allocations: 38.97 kB / 0.5369 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3547, allocations: 6 kB / 0.5369 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.3549, allocations: 81.31 kB / 0.537 GB, free: 9.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.794e-06/0.3549, allocations: 4 kB / 0.537 GB, free: 9.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004212/0.3553, allocations: 143.3 kB / 0.5372 GB, free: 9.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.3554, allocations: 56.34 kB / 0.5372 GB, free: 9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.3556, allocations: 199.4 kB / 0.5374 GB, free: 8.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.3556, allocations: 26.77 kB / 0.5374 GB, free: 8.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.3557, allocations: 118.7 kB / 0.5375 GB, free: 8.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.3557, allocations: 36.03 kB / 0.5376 GB, free: 8.676 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.3558, allocations: 30.75 kB / 0.5376 GB, free: 8.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3559, allocations: 327.1 kB / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.877e-05/0.356, allocations: 32 kB / 0.538 GB, free: 8.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.3561, allocations: 64.66 kB / 0.538 GB, free: 8.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.3563, allocations: 96.92 kB / 0.5381 GB, free: 8.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.3564, allocations: 1.094 kB / 0.5381 GB, free: 8.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000299/0.3567, allocations: 141.9 kB / 0.5382 GB, free: 8.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.3567, allocations: 9.75 kB / 0.5383 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3567, allocations: 5.062 kB / 0.5383 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.3567, allocations: 2.594 kB / 0.5383 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3569, allocations: 29.67 kB / 0.5383 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3569, allocations: 2.312 kB / 0.5383 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.238e-05/0.357, allocations: 4.656 kB / 0.5383 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.357, allocations: 12.52 kB / 0.5383 GB, free: 8.062 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001286/0.3571, allocations: 133.7 kB / 0.5384 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.3572, allocations: 18.91 kB / 0.5385 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.3572, allocations: 17.36 kB / 0.5385 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3572, allocations: 5.25 kB / 0.5385 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3572, allocations: 0 / 0.5385 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3572, allocations: 0.9375 kB / 0.5385 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.3574, allocations: 210.2 kB / 0.5387 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3575, allocations: 0 / 0.5387 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/0.3575, allocations: 17.8 kB / 0.5387 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3575, allocations: 1.156 kB / 0.5387 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.3576, allocations: 1.125 kB / 0.5387 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.3576, allocations: 5.219 kB / 0.5387 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3576, allocations: 4 kB / 0.5387 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004117/0.358, allocations: 181.7 kB / 0.5389 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.3581, allocations: 91.98 kB / 0.539 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.3581, allocations: 1.469 kB / 0.539 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.3582, allocations: 8.094 kB / 0.539 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.3582, allocations: 15.27 kB / 0.539 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.3582, allocations: 3.188 kB / 0.539 GB, free: 7.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.3584, allocations: 145.5 kB / 0.5391 GB, free: 7.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3584, allocations: 0 / 0.5391 GB, free: 7.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.3586, allocations: 24.06 kB / 0.5392 GB, free: 7.301 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0009763/0.3596, allocations: 415.7 kB / 0.5396 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.3599, allocations: 83.09 kB / 0.5396 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3599, allocations: 0 / 0.5396 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.36, allocations: 38.77 kB / 0.5397 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.3604, allocations: 45.2 kB / 0.5397 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005896/0.361, allocations: 293.7 kB / 0.54 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.3613, allocations: 0.7163 MB / 0.5407 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.3613, allocations: 16.72 kB / 0.5407 GB, free: 6.047 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3613, allocations: 0 / 0.5407 GB, free: 6.047 MB / 398.1 MB Notification: Performance of Templates: time 0.005139/0.3665, allocations: 2.217 MB / 0.5429 GB, free: 4.898 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches