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.002387/0.002387, allocations: 181.3 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 2.129/2.129, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001089/0.001088, allocations: 90.64 kB / 267.5 MB, free: 14.04 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.3026/0.3026, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.242e-05/3.259e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1123, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4827/0.5951, allocations: 91.53 MB / 0.5622 GB, free: 12.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.5955, allocations: 82.05 kB / 0.5623 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1023/0.6978, allocations: 26.93 MB / 0.5886 GB, free: 6.293 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6978, allocations: 0 / 0.5886 GB, free: 6.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.239e-05/0.6979, allocations: 19.94 kB / 0.5886 GB, free: 6.273 MB / 394.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.004027/0.7019, allocations: 1.034 MB / 0.5896 GB, free: 5.285 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.702, allocations: 8.031 kB / 0.5896 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/0.7042, allocations: 230.8 kB / 0.5898 GB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.7047, allocations: 249.8 kB / 0.5901 GB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/0.7049, allocations: 81.73 kB / 0.5901 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003599/0.7053, allocations: 95.38 kB / 0.5902 GB, free: 4.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.7077, allocations: 0.9018 MB / 0.5911 GB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.491e-05/0.7078, allocations: 7.844 kB / 0.5911 GB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.708, allocations: 42.25 kB / 0.5912 GB, free: 4.051 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.708, allocations: 24 kB / 0.5912 GB, free: 4.027 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.7102, allocations: 0.6925 MB / 0.5919 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008356/0.7186, allocations: 3.948 MB / 0.5957 GB, free: 92 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003713/0.7223, allocations: 3.352 MB / 0.599 GB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007424/0.7231, allocations: 296.4 kB / 0.5993 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.7233, allocations: 96.67 kB / 0.5994 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.7234, allocations: 42.58 kB / 0.5994 GB, free: 11.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 4.248e-06/0.7234, allocations: 0 / 0.5994 GB, free: 11.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.002069/0.7255, allocations: 0.6115 MB / 0.6 GB, free: 11.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.504e-05/0.7256, allocations: 143.8 kB / 0.6001 GB, free: 11.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.7262, allocations: 277.7 kB / 0.6004 GB, free: 11.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.099e-05/0.7263, allocations: 32.45 kB / 0.6004 GB, free: 11.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.7266, allocations: 458.2 kB / 0.6009 GB, free: 10.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.7269, allocations: 235.5 kB / 0.6011 GB, free: 10.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.7269, allocations: 20.31 kB / 0.6011 GB, free: 10.44 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7271, allocations: 337.5 kB / 0.6014 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005361/0.7276, allocations: 188.2 kB / 0.6016 GB, free: 10 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006736/0.7283, allocations: 382.2 kB / 0.602 GB, free: 9.633 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006918/0.729, allocations: 250.3 kB / 0.6022 GB, free: 9.473 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.7291, allocations: 8 kB / 0.6022 GB, free: 9.465 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002366/0.7314, allocations: 0.8355 MB / 0.603 GB, free: 8.812 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.7315, allocations: 15.38 kB / 0.6031 GB, free: 8.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.7316, allocations: 8 kB / 0.6031 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.7327, allocations: 224.8 kB / 0.6033 GB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.7337, allocations: 139.4 kB / 0.6034 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007808/0.7415, allocations: 6.211 MB / 0.6095 GB, free: 2.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009001/0.7425, allocations: 91 kB / 0.6096 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-05/0.7426, allocations: 39.98 kB / 0.6096 GB, free: 2.129 MB / 410.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 () * 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.000223/0.7428, allocations: 152.8 kB / 0.6097 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.743, allocations: 43.44 kB / 0.6098 GB, free: 1.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.7452, allocations: 0.6807 MB / 0.6105 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.7452, allocations: 8 kB / 0.6105 GB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.7452, allocations: 4 kB / 0.6105 GB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.7452, allocations: 3.984 kB / 0.6105 GB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/0.7492, allocations: 1.543 MB / 0.612 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.7493, allocations: 4 kB / 0.612 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.7498, allocations: 75.86 kB / 0.612 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009922/0.7509, allocations: 211.2 kB / 0.6123 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/0.7509, allocations: 12 kB / 0.6123 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00752/0.7585, allocations: 6.205 MB / 0.6183 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.7585, allocations: 0 / 0.6183 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.7611, allocations: 1.199 MB / 0.6195 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/0.7614, allocations: 128.5 kB / 0.6196 GB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.489e-05/0.7615, allocations: 12 kB / 0.6196 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.7621, allocations: 12 kB / 0.6196 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.7623, allocations: 63.88 kB / 0.6197 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/0.7623, allocations: 16 kB / 0.6197 GB, free: 7.062 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003576/0.7627, allocations: 207.1 kB / 0.6199 GB, free: 6.855 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7627, allocations: 0 / 0.6199 GB, free: 6.855 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001405/0.7641, allocations: 283.6 kB / 0.6202 GB, free: 6.578 MB / 426.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 () * 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.0003491/0.7645, allocations: 150.9 kB / 0.6203 GB, free: 6.422 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002415/0.7669, allocations: 1.052 MB / 0.6214 GB, free: 5.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.767, allocations: 0 / 0.6214 GB, free: 5.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.7684, allocations: 0.7604 MB / 0.6221 GB, free: 4.508 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006572/0.7691, allocations: 47.67 kB / 0.6221 GB, free: 4.465 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/0.7723, allocations: 1.019 MB / 0.6231 GB, free: 3.402 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007179/0.7731, allocations: 0.9229 MB / 0.624 GB, free: 2.453 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.7734, allocations: 47.42 kB / 0.6241 GB, free: 2.406 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7734, allocations: 0 / 0.6241 GB, free: 2.406 MB / 426.7 MB Notification: Performance of Templates: time 0.03253/0.8059, allocations: 18.11 MB / 0.6418 GB, free: 264 kB / 442.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