Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008524/0.0008524, allocations: 90.14 kB / 261.7 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2016/0.2016, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.587e-05/1.586e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1224, allocations: 58.86 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4709/0.5933, allocations: 85.93 MB / 0.5498 GB, free: 8.848 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.5937, allocations: 76.75 kB / 0.5499 GB, free: 8.812 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01245/0.6061, allocations: 4.266 MB / 0.5541 GB, free: 5.586 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6062, allocations: 0 / 0.5541 GB, free: 5.586 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.6062, allocations: 0 / 0.5541 GB, free: 5.586 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003647/0.6066, allocations: 373.5 kB / 0.5544 GB, free: 5.188 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.6066, allocations: 8.031 kB / 0.5544 GB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.6067, allocations: 8 kB / 0.5545 GB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.6069, allocations: 202.5 kB / 0.5546 GB, free: 4.938 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.6069, allocations: 0 / 0.5546 GB, free: 4.938 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.607, allocations: 0 / 0.5546 GB, free: 4.938 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.657e-05/0.6071, allocations: 31.61 kB / 0.5547 GB, free: 4.914 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.6072, allocations: 55.28 kB / 0.5547 GB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.6072, allocations: 0 / 0.5547 GB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.6073, allocations: 0 / 0.5547 GB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.6073, allocations: 4 kB / 0.5547 GB, free: 4.848 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.6076, allocations: 275.6 kB / 0.555 GB, free: 4.562 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.36e-05/0.6077, allocations: 42.25 kB / 0.555 GB, free: 4.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.6078, allocations: 16.73 kB / 0.5551 GB, free: 4.504 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.6078, allocations: 0 / 0.5551 GB, free: 4.504 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.6078, allocations: 38.38 kB / 0.5551 GB, free: 4.461 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.6079, allocations: 3.938 kB / 0.5551 GB, free: 4.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005466/0.6084, allocations: 124.8 kB / 0.5552 GB, free: 4.344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.6085, allocations: 77.11 kB / 0.5553 GB, free: 4.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.6086, allocations: 133.9 kB / 0.5554 GB, free: 4.129 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.6086, allocations: 25.7 kB / 0.5554 GB, free: 4.098 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.6087, allocations: 92.06 kB / 0.5555 GB, free: 4.008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.6087, allocations: 27.5 kB / 0.5556 GB, free: 3.984 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.6087, allocations: 4 kB / 0.5556 GB, free: 3.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.357e-05/0.6088, allocations: 318.8 kB / 0.5559 GB, free: 3.664 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.458e-05/0.6088, allocations: 11.5 kB / 0.5559 GB, free: 3.656 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.6089, allocations: 37.59 kB / 0.5559 GB, free: 3.621 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.076e-05/0.6089, allocations: 19.92 kB / 0.5559 GB, free: 3.605 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.609, allocations: 0 / 0.5559 GB, free: 3.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001481/0.6091, allocations: 76.48 kB / 0.556 GB, free: 3.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6091, allocations: 8 kB / 0.556 GB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6092, allocations: 4.031 kB / 0.556 GB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6092, allocations: 0 / 0.556 GB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.6093, allocations: 19.98 kB / 0.556 GB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.6093, allocations: 0 / 0.556 GB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.6094, allocations: 7.953 kB / 0.556 GB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.6094, allocations: 4 kB / 0.556 GB, free: 3.496 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.203e-05/0.6095, allocations: 104.9 kB / 0.5561 GB, free: 3.387 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.6096, allocations: 11.91 kB / 0.5562 GB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.6098, allocations: 92.97 kB / 0.5562 GB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6098, allocations: 0 / 0.5562 GB, free: 3.301 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.6098, allocations: 3.938 kB / 0.5562 GB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6098, allocations: 0 / 0.5562 GB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.6102, allocations: 341.7 kB / 0.5566 GB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6102, allocations: 0 / 0.5566 GB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.6103, allocations: 23.98 kB / 0.5566 GB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.6104, allocations: 4.172 kB / 0.5566 GB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.6104, allocations: 4 kB / 0.5566 GB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6104, allocations: 4 kB / 0.5566 GB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6104, allocations: 0 / 0.5566 GB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.6106, allocations: 178.8 kB / 0.5568 GB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.6106, allocations: 92.81 kB / 0.5569 GB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.6107, allocations: 0 / 0.5569 GB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.6108, allocations: 8 kB / 0.5569 GB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.6108, allocations: 7.984 kB / 0.5569 GB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.6109, allocations: 4 kB / 0.5569 GB, free: 2.617 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.839e-05/0.6109, allocations: 113.1 kB / 0.557 GB, free: 2.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6109, allocations: 0 / 0.557 GB, free: 2.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004265/0.6114, allocations: 27.88 kB / 0.557 GB, free: 2.492 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/0.6125, allocations: 364.4 kB / 0.5574 GB, free: 2.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.6126, allocations: 39.69 kB / 0.5574 GB, free: 2.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6127, allocations: 4 kB / 0.5574 GB, free: 2.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.098e-05/0.6127, allocations: 35.61 kB / 0.5574 GB, free: 2.121 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.613, allocations: 4 kB / 0.5574 GB, free: 2.117 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.6134, allocations: 127.1 kB / 0.5576 GB, free: 1.988 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.6135, allocations: 0.6924 MB / 0.5582 GB, free: 1.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.302e-05/0.6136, allocations: 16.95 kB / 0.5583 GB, free: 1.254 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.6137, allocations: 23.38 kB / 0.5583 GB, free: 1.23 MB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6137, allocations: 0 / 0.5583 GB, free: 1.23 MB / 362.7 MB Notification: Performance of Templates: time 0.004124/0.6178, allocations: 1.321 MB / 0.5596 GB, free: 15.93 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches