Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002049/0.002049, allocations: 185.3 kB / 16.41 MB, free: 5.723 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.939/1.939, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001149/0.001148, allocations: 92.41 kB / 270.9 MB, free: 8.395 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.5077/0.5077, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006295/0.0006295, allocations: 12 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.121, allocations: 58.84 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4988/0.6199, allocations: 91.63 MB / 0.5682 GB, free: 11.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004318/0.6204, allocations: 79.95 kB / 0.5683 GB, free: 11.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1158/0.7362, allocations: 27.01 MB / 0.5947 GB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.7363, allocations: 4 kB / 0.5947 GB, free: 15.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.684e-05/0.7363, allocations: 16 kB / 0.5947 GB, free: 15.73 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003922/0.7403, allocations: 1.049 MB / 0.5957 GB, free: 14.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.7403, allocations: 12.03 kB / 0.5957 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/0.7426, allocations: 230.2 kB / 0.5959 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.743, allocations: 259.1 kB / 0.5962 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.7432, allocations: 82 kB / 0.5963 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002967/0.7435, allocations: 99.91 kB / 0.5964 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/0.746, allocations: 0.9126 MB / 0.5972 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-05/0.7461, allocations: 5.016 kB / 0.5972 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.7463, allocations: 44 kB / 0.5973 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.7463, allocations: 24 kB / 0.5973 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.7485, allocations: 0.726 MB / 0.598 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008208/0.7568, allocations: 3.955 MB / 0.6019 GB, free: 7.902 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003859/0.7607, allocations: 3.368 MB / 0.6052 GB, free: 3.887 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002247/0.761, allocations: 97.42 kB / 0.6053 GB, free: 3.773 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.761, allocations: 38.89 kB / 0.6053 GB, free: 3.727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 3.737e-06/0.761, allocations: 0 / 0.6053 GB, free: 3.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.004499/0.7655, allocations: 1.307 MB / 0.6066 GB, free: 2.332 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/0.7657, allocations: 144.5 kB / 0.6067 GB, free: 2.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/0.7663, allocations: 285.9 kB / 0.607 GB, free: 1.879 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.196e-05/0.7664, allocations: 37.7 kB / 0.607 GB, free: 1.836 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.7667, allocations: 460.9 kB / 0.6075 GB, free: 1.379 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.767, allocations: 232.6 kB / 0.6077 GB, free: 1.148 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.7671, allocations: 20 kB / 0.6077 GB, free: 1.129 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.7672, allocations: 342.8 kB / 0.608 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006048/0.7679, allocations: 193.9 kB / 0.6082 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007484/0.7686, allocations: 392.6 kB / 0.6086 GB, free: 140 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007726/0.7694, allocations: 260 kB / 0.6088 GB, free: 15.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.7694, allocations: 7.875 kB / 0.6088 GB, free: 15.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002516/0.772, allocations: 0.865 MB / 0.6097 GB, free: 15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.772, allocations: 4.562 kB / 0.6097 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.7721, allocations: 12 kB / 0.6097 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.7731, allocations: 223.2 kB / 0.6099 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009746/0.7741, allocations: 135.8 kB / 0.61 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008152/0.7823, allocations: 6.319 MB / 0.6162 GB, free: 7.762 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008649/0.7832, allocations: 83.06 kB / 0.6163 GB, free: 7.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.673e-05/0.7833, allocations: 39.98 kB / 0.6163 GB, free: 7.641 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 78 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004858/0.7838, allocations: 213.8 kB / 0.6165 GB, free: 7.422 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.784, allocations: 43.53 kB / 0.6166 GB, free: 7.379 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.7861, allocations: 0.6885 MB / 0.6173 GB, free: 6.672 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.7861, allocations: 8 kB / 0.6173 GB, free: 6.664 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.7862, allocations: 4 kB / 0.6173 GB, free: 6.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.7862, allocations: 3.984 kB / 0.6173 GB, free: 6.656 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003962/0.7902, allocations: 1.559 MB / 0.6188 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.7902, allocations: 4 kB / 0.6188 GB, free: 5.023 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005167/0.7907, allocations: 71.91 kB / 0.6189 GB, free: 4.953 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009998/0.7918, allocations: 219.7 kB / 0.6191 GB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.887e-05/0.7918, allocations: 12 kB / 0.6191 GB, free: 4.715 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008012/0.7999, allocations: 6.292 MB / 0.6252 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.7999, allocations: 0 / 0.6252 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.8025, allocations: 1.215 MB / 0.6264 GB, free: 12.63 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.8028, allocations: 132.3 kB / 0.6265 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.549e-05/0.8029, allocations: 12 kB / 0.6266 GB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/0.8035, allocations: 12 kB / 0.6266 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.8036, allocations: 67.88 kB / 0.6266 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.8037, allocations: 16 kB / 0.6266 GB, free: 12.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004021/0.8041, allocations: 217.9 kB / 0.6269 GB, free: 12.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.8041, allocations: 0 / 0.6269 GB, free: 12.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001387/0.8055, allocations: 279.2 kB / 0.6271 GB, free: 11.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (coaxCylindersEndFaces.port_p.reference.gamma,halfCylinder.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003206/0.8059, allocations: 143.1 kB / 0.6273 GB, free: 11.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00245/0.8083, allocations: 1.072 MB / 0.6283 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.8084, allocations: 8.125 kB / 0.6283 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.8098, allocations: 0.7799 MB / 0.6291 GB, free: 9.773 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/0.8105, allocations: 42.12 kB / 0.6291 GB, free: 9.738 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.8144, allocations: 1.646 MB / 0.6307 GB, free: 8.055 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007059/0.8151, allocations: 0.9269 MB / 0.6316 GB, free: 7.098 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.8154, allocations: 39.42 kB / 0.6317 GB, free: 7.059 MB / 458.7 MB Notification: Performance of SimCode: time 1.142e-06/0.8154, allocations: 0 / 0.6317 GB, free: 7.059 MB / 458.7 MB Notification: Performance of Templates: time 0.03062/0.846, allocations: 18.11 MB / 0.6494 GB, free: 4.922 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches