Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001691/0.001694, allocations: 180.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 86.69 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.278/0.278, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.205e-05/4.226e-05, allocations: 0 / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.162, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.48/0.642, allocations: 89.5 MB / 0.5602 GB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.6423, allocations: 66.33 kB / 0.5603 GB, free: 14.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03946/0.6818, allocations: 8.903 MB / 0.5689 GB, free: 6.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.6818, allocations: 0 / 0.5689 GB, free: 6.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.858e-05/0.6819, allocations: 12 kB / 0.569 GB, free: 6.648 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001554/0.6834, allocations: 0.6537 MB / 0.5696 GB, free: 5.977 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.6835, allocations: 12.03 kB / 0.5696 GB, free: 5.965 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.6837, allocations: 51.39 kB / 0.5697 GB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005455/0.6842, allocations: 315.8 kB / 0.57 GB, free: 5.598 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.6843, allocations: 37.38 kB / 0.57 GB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.926e-05/0.6844, allocations: 41.69 kB / 0.57 GB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.6854, allocations: 433.2 kB / 0.5704 GB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.6855, allocations: 4 kB / 0.5705 GB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/0.6855, allocations: 24.81 kB / 0.5705 GB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.6856, allocations: 12 kB / 0.5705 GB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007869/0.6864, allocations: 280.2 kB / 0.5708 GB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0039/0.6903, allocations: 1.701 MB / 0.5724 GB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.6909, allocations: 213.4 kB / 0.5726 GB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/0.6912, allocations: 120.8 kB / 0.5727 GB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.6913, allocations: 8.219 kB / 0.5727 GB, free: 3.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.6913, allocations: 38.5 kB / 0.5728 GB, free: 3.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 2.995e-06/0.6913, allocations: 0 / 0.5728 GB, free: 3.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.003377/0.6947, allocations: 1.117 MB / 0.5739 GB, free: 2.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/0.6948, allocations: 81.11 kB / 0.5739 GB, free: 2.047 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/0.6952, allocations: 228.5 kB / 0.5742 GB, free: 1.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.6953, allocations: 32.08 kB / 0.5742 GB, free: 1.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.6955, allocations: 316.7 kB / 0.5745 GB, free: 1.543 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.6956, allocations: 119.3 kB / 0.5746 GB, free: 1.441 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.6957, allocations: 11.31 kB / 0.5746 GB, free: 1.438 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6958, allocations: 329.6 kB / 0.5749 GB, free: 1.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.6961, allocations: 88.38 kB / 0.575 GB, free: 1.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.6965, allocations: 195.3 kB / 0.5752 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.6968, allocations: 105.8 kB / 0.5753 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.6968, allocations: 4 kB / 0.5753 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001016/0.6979, allocations: 375.6 kB / 0.5757 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.6979, allocations: 4 kB / 0.5757 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6979, allocations: 7.938 kB / 0.5757 GB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002038/0.6981, allocations: 36.38 kB / 0.5757 GB, free: 480 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009073/0.6991, allocations: 123.3 kB / 0.5758 GB, free: 360 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.7005, allocations: 1.334 MB / 0.5771 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/0.7011, allocations: 22.92 kB / 0.5772 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.7011, allocations: 19.56 kB / 0.5772 GB, free: 14.91 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.7013, allocations: 119.9 kB / 0.5773 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.7014, allocations: 35.19 kB / 0.5773 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.845e-05/0.7015, allocations: 42.52 kB / 0.5774 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.7016, allocations: 4 kB / 0.5774 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.7016, allocations: 0 / 0.5774 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.7016, allocations: 7.891 kB / 0.5774 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.7032, allocations: 0.7037 MB / 0.5781 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.7032, allocations: 7.953 kB / 0.5781 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008364/0.7041, allocations: 95.69 kB / 0.5782 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001436/0.7042, allocations: 24.09 kB / 0.5782 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-05/0.7043, allocations: 11.31 kB / 0.5782 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.7055, allocations: 1.326 MB / 0.5795 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/0.7056, allocations: 3.984 kB / 0.5795 GB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.7067, allocations: 0.5942 MB / 0.5801 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.7069, allocations: 118.1 kB / 0.5802 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/0.707, allocations: 14.02 kB / 0.5802 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004609/0.7075, allocations: 22.98 kB / 0.5802 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.7076, allocations: 26.89 kB / 0.5802 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.7076, allocations: 10.94 kB / 0.5803 GB, free: 11.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002635/0.7079, allocations: 182.7 kB / 0.5804 GB, free: 11.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7079, allocations: 0 / 0.5804 GB, free: 11.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00064/0.7086, allocations: 90.44 kB / 0.5805 GB, free: 11.65 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001817/0.7088, allocations: 109.1 kB / 0.5806 GB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000947/0.7097, allocations: 360.7 kB / 0.581 GB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.7098, allocations: 0 / 0.581 GB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.7102, allocations: 249.6 kB / 0.5812 GB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.7107, allocations: 41.8 kB / 0.5812 GB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.7127, allocations: 0.6908 MB / 0.5819 GB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.7132, allocations: 0.8191 MB / 0.5827 GB, free: 9.484 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.7134, allocations: 31.42 kB / 0.5827 GB, free: 9.453 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7134, allocations: 0 / 0.5827 GB, free: 9.453 MB / 394.7 MB Notification: Performance of Templates: time 0.01253/0.726, allocations: 5.699 MB / 0.5883 GB, free: 3.82 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches