Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001462/0.001462, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001769/0.001769, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2155/0.2155, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 79.81 kB / 482.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3399, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003449/0.3434, allocations: 1.945 MB / 0.5336 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.3453, allocations: 1.057 MB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.481e-05/0.3454, allocations: 10.69 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002974/0.3457, allocations: 39.97 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.346, allocations: 98.97 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.3463, allocations: 95.08 kB / 0.5349 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.3465, allocations: 145.2 kB / 0.535 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3466, allocations: 33.91 kB / 0.5351 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.751e-05/0.3467, allocations: 56.34 kB / 0.5351 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.3469, allocations: 49.47 kB / 0.5352 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.3469, allocations: 6.875 kB / 0.5352 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.347, allocations: 51.59 kB / 0.5352 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.3471, allocations: 22.8 kB / 0.5352 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.705e-05/0.3472, allocations: 55.92 kB / 0.5353 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.3475, allocations: 152.2 kB / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3475, allocations: 4 kB / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3475, allocations: 0.9062 kB / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3475, allocations: 0 / 0.5354 GB, free: 10.73 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.0007044/0.3482, allocations: 478.9 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3482, allocations: 10.41 kB / 0.5359 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.3483, allocations: 15.31 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.3486, allocations: 244.7 kB / 0.5362 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.3487, allocations: 10.8 kB / 0.5362 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.3487, allocations: 13.66 kB / 0.5362 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.349, allocations: 97.95 kB / 0.5363 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.349, allocations: 7.922 kB / 0.5363 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.349, allocations: 5.062 kB / 0.5363 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.349, allocations: 1.688 kB / 0.5363 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.3492, allocations: 47.25 kB / 0.5363 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007334/0.35, allocations: 0.5072 MB / 0.5368 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.3504, allocations: 88.69 kB / 0.5369 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.3505, allocations: 39.28 kB / 0.5369 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.3505, allocations: 1.188 kB / 0.5369 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.3508, allocations: 82 kB / 0.537 GB, free: 9.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.914e-06/0.3508, allocations: 0 / 0.537 GB, free: 9.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005924/0.3514, allocations: 150.7 kB / 0.5372 GB, free: 9.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3514, allocations: 57.41 kB / 0.5372 GB, free: 9.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.3517, allocations: 194.7 kB / 0.5374 GB, free: 8.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.3517, allocations: 26.7 kB / 0.5374 GB, free: 8.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.919e-05/0.3518, allocations: 119.1 kB / 0.5376 GB, free: 8.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.3518, allocations: 35.84 kB / 0.5376 GB, free: 8.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.634e-05/0.3519, allocations: 34.77 kB / 0.5376 GB, free: 8.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.3521, allocations: 327.1 kB / 0.5379 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.3522, allocations: 31.48 kB / 0.538 GB, free: 8.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3523, allocations: 67.67 kB / 0.538 GB, free: 8.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.3525, allocations: 94 kB / 0.5381 GB, free: 8.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3525, allocations: 0 / 0.5381 GB, free: 8.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000268/0.3528, allocations: 142.5 kB / 0.5382 GB, free: 8.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3528, allocations: 5.625 kB / 0.5383 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3528, allocations: 1.031 kB / 0.5383 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3529, allocations: 2.125 kB / 0.5383 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.353, allocations: 34.39 kB / 0.5383 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.353, allocations: 5.406 kB / 0.5383 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.099e-05/0.3531, allocations: 13.64 kB / 0.5383 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.3531, allocations: 4.219 kB / 0.5383 GB, free: 8.098 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.0001651/0.3533, allocations: 134.2 kB / 0.5384 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.3533, allocations: 15.69 kB / 0.5385 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.3534, allocations: 17.52 kB / 0.5385 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3534, allocations: 4.781 kB / 0.5385 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3534, allocations: 5.75 kB / 0.5385 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3534, allocations: 0 / 0.5385 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.3536, allocations: 209.9 kB / 0.5387 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3536, allocations: 0 / 0.5387 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-05/0.3537, allocations: 17.36 kB / 0.5387 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3537, allocations: 1.438 kB / 0.5387 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.3537, allocations: 5.312 kB / 0.5387 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.3537, allocations: 3.938 kB / 0.5387 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3537, allocations: 1.156 kB / 0.5387 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.3541, allocations: 184.4 kB / 0.5389 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.32e-05/0.3542, allocations: 84.58 kB / 0.539 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.3542, allocations: 2.312 kB / 0.539 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.3543, allocations: 15.23 kB / 0.539 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.3544, allocations: 3.375 kB / 0.539 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.3544, allocations: 3.281 kB / 0.539 GB, free: 7.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.3546, allocations: 145.6 kB / 0.5391 GB, free: 7.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3546, allocations: 5.125 kB / 0.5391 GB, free: 7.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.3548, allocations: 30.89 kB / 0.5392 GB, free: 7.328 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.0009425/0.3557, allocations: 410.4 kB / 0.5396 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00025/0.356, allocations: 82.39 kB / 0.5396 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.356, allocations: 1.156 kB / 0.5396 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.3562, allocations: 38.17 kB / 0.5397 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.3565, allocations: 43.11 kB / 0.5397 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004863/0.357, allocations: 290.1 kB / 0.54 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3573, allocations: 0.712 MB / 0.5407 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.3574, allocations: 20.94 kB / 0.5407 GB, free: 6.082 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3574, allocations: 4 kB / 0.5407 GB, free: 6.078 MB / 398.1 MB Notification: Performance of Templates: time 0.004598/0.362, allocations: 2.222 MB / 0.5429 GB, free: 4.926 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches