Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001192/0.001192, allocations: 117.7 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 212.8 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, 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.2585/0.2585, allocations: 46.08 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 75.88 kB / 482 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.353, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003782/0.3568, allocations: 1.941 MB / 0.5336 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.3588, allocations: 1.059 MB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.359, allocations: 1.375 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.3593, allocations: 41.34 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003905/0.3597, allocations: 98.97 kB / 0.5348 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.36, allocations: 101.6 kB / 0.5349 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.3603, allocations: 149.3 kB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3604, allocations: 27.28 kB / 0.5351 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.3605, allocations: 56.34 kB / 0.5351 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.905e-05/0.3606, allocations: 49.47 kB / 0.5352 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.3607, allocations: 14.81 kB / 0.5352 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.3608, allocations: 51.59 kB / 0.5352 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.3609, allocations: 22.8 kB / 0.5352 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.3609, allocations: 55.98 kB / 0.5353 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.3612, allocations: 144.9 kB / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3612, allocations: 0 / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.3612, allocations: 0 / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.3613, allocations: 3.938 kB / 0.5354 GB, free: 10.71 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.0006911/0.362, allocations: 491.1 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.362, allocations: 9.781 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/0.3621, allocations: 20.25 kB / 0.5359 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.3624, allocations: 235.9 kB / 0.5362 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3625, allocations: 3.531 kB / 0.5362 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.3625, allocations: 20.55 kB / 0.5362 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.3627, allocations: 108.1 kB / 0.5363 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.3628, allocations: 1.25 kB / 0.5363 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.3628, allocations: 5.281 kB / 0.5363 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3628, allocations: 1.438 kB / 0.5363 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.363, allocations: 46.19 kB / 0.5363 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005983/0.3636, allocations: 0.5077 MB / 0.5368 GB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.3639, allocations: 87.95 kB / 0.5369 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.364, allocations: 44.02 kB / 0.537 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.364, allocations: 1.188 kB / 0.537 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.3642, allocations: 85 kB / 0.537 GB, free: 9.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.3643, allocations: 1.156 kB / 0.537 GB, free: 9.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003998/0.3647, allocations: 142.3 kB / 0.5372 GB, free: 9.078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.3647, allocations: 57.66 kB / 0.5372 GB, free: 9.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.3649, allocations: 198.6 kB / 0.5374 GB, free: 8.863 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3649, allocations: 30.8 kB / 0.5375 GB, free: 8.828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.365, allocations: 119.2 kB / 0.5376 GB, free: 8.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.3651, allocations: 35.59 kB / 0.5376 GB, free: 8.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.3651, allocations: 31.09 kB / 0.5376 GB, free: 8.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3652, allocations: 326 kB / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.3654, allocations: 32.06 kB / 0.538 GB, free: 8.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.772e-05/0.3655, allocations: 57.16 kB / 0.538 GB, free: 8.266 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.3657, allocations: 105.6 kB / 0.5381 GB, free: 8.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3657, allocations: 0 / 0.5381 GB, free: 8.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002861/0.366, allocations: 142.3 kB / 0.5383 GB, free: 8.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.366, allocations: 5.156 kB / 0.5383 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.366, allocations: 1.5 kB / 0.5383 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.366, allocations: 2.625 kB / 0.5383 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3661, allocations: 29.98 kB / 0.5383 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3662, allocations: 2.188 kB / 0.5383 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.128e-05/0.3662, allocations: 5.062 kB / 0.5383 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.3663, allocations: 4.375 kB / 0.5383 GB, free: 8.086 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.0001166/0.3664, allocations: 142.5 kB / 0.5384 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.3664, allocations: 14.66 kB / 0.5385 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.3665, allocations: 22.39 kB / 0.5385 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3665, allocations: 5.156 kB / 0.5385 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3665, allocations: 0 / 0.5385 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3665, allocations: 0 / 0.5385 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.3667, allocations: 210.9 kB / 0.5387 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3667, allocations: 0 / 0.5387 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.3668, allocations: 14.61 kB / 0.5387 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3668, allocations: 0 / 0.5387 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3668, allocations: 5.25 kB / 0.5387 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3668, allocations: 5.281 kB / 0.5387 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3668, allocations: 0 / 0.5387 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.3672, allocations: 177.4 kB / 0.5389 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.3673, allocations: 88.78 kB / 0.539 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.3673, allocations: 9.375 kB / 0.539 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.184e-05/0.3674, allocations: 11.97 kB / 0.539 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.3674, allocations: 10.55 kB / 0.539 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.3674, allocations: 8.125 kB / 0.539 GB, free: 7.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.3676, allocations: 145.2 kB / 0.5391 GB, free: 7.316 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3676, allocations: 0 / 0.5391 GB, free: 7.316 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.3678, allocations: 23.88 kB / 0.5392 GB, free: 7.312 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.0009433/0.3688, allocations: 413.6 kB / 0.5396 GB, free: 7.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.369, allocations: 83.86 kB / 0.5396 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3691, allocations: 0 / 0.5396 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.3692, allocations: 38.14 kB / 0.5397 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.3695, allocations: 36.41 kB / 0.5397 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005632/0.3701, allocations: 297.8 kB / 0.54 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.3704, allocations: 0.7156 MB / 0.5407 GB, free: 6.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.3704, allocations: 17.09 kB / 0.5407 GB, free: 6.062 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3704, allocations: 0 / 0.5407 GB, free: 6.062 MB / 398.1 MB Notification: Performance of Templates: time 0.004786/0.3752, allocations: 2.227 MB / 0.5429 GB, free: 4.906 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches