Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001174/0.001174, allocations: 117 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 79.88 kB / 482.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.326, allocations: 62.44 MB / 0.5318 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003496/0.3295, allocations: 1.734 MB / 0.5334 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.3314, allocations: 1.022 MB / 0.5344 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.3315, allocations: 5.312 kB / 0.5344 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.3319, allocations: 53.62 kB / 0.5345 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.3322, allocations: 103.2 kB / 0.5346 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.3325, allocations: 78.92 kB / 0.5347 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.3327, allocations: 106.3 kB / 0.5348 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3328, allocations: 10.86 kB / 0.5348 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.893e-05/0.3329, allocations: 44.23 kB / 0.5348 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.607e-05/0.333, allocations: 37.41 kB / 0.5349 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.333, allocations: 8.109 kB / 0.5349 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3331, allocations: 39.44 kB / 0.5349 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.3332, allocations: 26.91 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.677e-05/0.3333, allocations: 49.3 kB / 0.535 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.3336, allocations: 141.3 kB / 0.5351 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3336, allocations: 4.969 kB / 0.5351 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3336, allocations: 0 / 0.5351 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3336, allocations: 0 / 0.5351 GB, free: 11.23 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006141/0.3342, allocations: 451.9 kB / 0.5356 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3343, allocations: 8.719 kB / 0.5356 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.3343, allocations: 16.06 kB / 0.5356 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.3347, allocations: 224.2 kB / 0.5358 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3347, allocations: 5.844 kB / 0.5358 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.3347, allocations: 6.531 kB / 0.5358 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3349, allocations: 53.8 kB / 0.5359 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3349, allocations: 0 / 0.5359 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3349, allocations: 1.312 kB / 0.5359 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3349, allocations: 3.938 kB / 0.5359 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.652e-05/0.335, allocations: 18.3 kB / 0.5359 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.3354, allocations: 304 kB / 0.5362 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.3356, allocations: 58.69 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.3356, allocations: 20.91 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.3357, allocations: 1.094 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.3358, allocations: 69.42 kB / 0.5363 GB, free: 10.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.3358, allocations: 4 kB / 0.5363 GB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000544/0.3364, allocations: 184.6 kB / 0.5365 GB, free: 9.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.3364, allocations: 56.59 kB / 0.5365 GB, free: 9.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.3367, allocations: 271.5 kB / 0.5368 GB, free: 9.656 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3367, allocations: 31.58 kB / 0.5368 GB, free: 9.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.3368, allocations: 115.5 kB / 0.5369 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.3368, allocations: 27 kB / 0.537 GB, free: 9.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.3369, allocations: 20.28 kB / 0.537 GB, free: 9.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.337, allocations: 340.3 kB / 0.5373 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.049e-05/0.3371, allocations: 15.28 kB / 0.5373 GB, free: 9.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.887e-05/0.3372, allocations: 38.83 kB / 0.5374 GB, free: 9.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.3373, allocations: 62.98 kB / 0.5374 GB, free: 9.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3373, allocations: 0 / 0.5374 GB, free: 9.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002149/0.3375, allocations: 113.3 kB / 0.5375 GB, free: 8.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3376, allocations: 5.219 kB / 0.5375 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3376, allocations: 1 kB / 0.5375 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3376, allocations: 1.75 kB / 0.5375 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.474e-05/0.3377, allocations: 16.53 kB / 0.5376 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3377, allocations: 0.8125 kB / 0.5376 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.3378, allocations: 6.766 kB / 0.5376 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3378, allocations: 6.375 kB / 0.5376 GB, free: 8.969 MB / 398.1 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 0.0001297/0.3379, allocations: 133.1 kB / 0.5377 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.338, allocations: 20.16 kB / 0.5377 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.597e-05/0.338, allocations: 24.48 kB / 0.5377 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.338, allocations: 0 / 0.5377 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.338, allocations: 1.438 kB / 0.5377 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.3381, allocations: 87.92 kB / 0.5378 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.3381, allocations: 5.406 kB / 0.5378 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.471e-05/0.3382, allocations: 1.281 kB / 0.5378 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.3382, allocations: 11.7 kB / 0.5378 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002484/0.3385, allocations: 180.4 kB / 0.538 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002888/0.3388, allocations: 279.6 kB / 0.5383 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.5e-05/0.3389, allocations: 26.7 kB / 0.5383 GB, free: 8.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.3391, allocations: 198.5 kB / 0.5385 GB, free: 8.176 MB / 398.1 MB Notification: Performance of Backend: time 3.61e-07/0.3391, allocations: 0 / 0.5385 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.3405, allocations: 0.4926 MB / 0.539 GB, free: 7.938 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006887/0.3412, allocations: 0.7129 MB / 0.5397 GB, free: 7.27 MB / 398.1 MB Notification: Performance of Templates: time 0.00528/0.3465, allocations: 1.824 MB / 0.5415 GB, free: 6.348 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches