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.002255/0.002254, allocations: 177.8 kB / 8.36 MB, free: 0.7148 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.955/1.955, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 98.59 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2964/0.2964, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.644e-05/2.648e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5429/0.543, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2433/0.7863, allocations: 90.86 MB / 0.5546 GB, free: 8.441 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004335/0.7868, allocations: 91.88 kB / 0.5547 GB, free: 8.352 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1624/0.9493, allocations: 26.64 MB / 0.5807 GB, free: 13.36 MB / 427.1 MB Notification: Performance of FrontEnd: time 3.287e-06/0.9494, allocations: 0 / 0.5807 GB, free: 13.36 MB / 427.1 MB Notification: Performance of Transformations before backend: time 4.175e-05/0.9494, allocations: 12 kB / 0.5807 GB, free: 13.35 MB / 427.1 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.004033/0.9535, allocations: 1.025 MB / 0.5818 GB, free: 12.28 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.9536, allocations: 8.031 kB / 0.5818 GB, free: 12.27 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/0.9558, allocations: 238.8 kB / 0.582 GB, free: 12.04 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.9562, allocations: 250.6 kB / 0.5822 GB, free: 11.75 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.9564, allocations: 53.92 kB / 0.5823 GB, free: 11.69 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002661/0.9567, allocations: 60 kB / 0.5823 GB, free: 11.63 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002007/0.9587, allocations: 0.6327 MB / 0.583 GB, free: 11 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/0.961, allocations: 0.7605 MB / 0.5837 GB, free: 10.22 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.297e-05/0.9611, allocations: 3.906 kB / 0.5837 GB, free: 10.22 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.787e-05/0.9612, allocations: 4 kB / 0.5837 GB, free: 10.21 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.9612, allocations: 28 kB / 0.5837 GB, free: 10.19 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008398/0.9697, allocations: 3.781 MB / 0.5874 GB, free: 6.086 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003771/0.9735, allocations: 3.328 MB / 0.5907 GB, free: 2.105 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007274/0.9743, allocations: 257.7 kB / 0.5909 GB, free: 1.844 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001804/0.9745, allocations: 101.2 kB / 0.591 GB, free: 1.727 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.9745, allocations: 46.89 kB / 0.5911 GB, free: 1.672 MB / 427.1 MB Notification: Performance of pre-optimization done (n=66): time 6.072e-06/0.9745, allocations: 4 kB / 0.5911 GB, free: 1.668 MB / 427.1 MB Notification: Performance of matching and sorting (n=66): time 0.002634/0.9772, allocations: 0.662 MB / 0.5917 GB, free: 0.9883 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.179e-05/0.9773, allocations: 148.5 kB / 0.5918 GB, free: 0.8125 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/0.9778, allocations: 238.2 kB / 0.5921 GB, free: 0.5781 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.9779, allocations: 25.7 kB / 0.5921 GB, free: 0.5469 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.9782, allocations: 468.7 kB / 0.5925 GB, free: 84 kB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.9785, allocations: 216.8 kB / 0.5928 GB, free: 15.86 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.9786, allocations: 0 / 0.5928 GB, free: 15.86 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.9788, allocations: 346.8 kB / 0.5931 GB, free: 15.52 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/0.9792, allocations: 166.6 kB / 0.5932 GB, free: 15.35 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.9799, allocations: 369.2 kB / 0.5936 GB, free: 14.91 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.9813, allocations: 332.5 kB / 0.5939 GB, free: 14.59 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.9814, allocations: 4 kB / 0.5939 GB, free: 14.58 MB / 443.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003052/0.9844, allocations: 0.8582 MB / 0.5948 GB, free: 13.7 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.9845, allocations: 4 kB / 0.5948 GB, free: 13.7 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.9845, allocations: 8 kB / 0.5948 GB, free: 13.69 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.9856, allocations: 211.3 kB / 0.595 GB, free: 13.47 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.9866, allocations: 151.7 kB / 0.5951 GB, free: 13.32 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007706/0.9944, allocations: 5.939 MB / 0.6009 GB, free: 6.922 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008768/0.9953, allocations: 67.69 kB / 0.601 GB, free: 6.855 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-05/0.9954, allocations: 40.11 kB / 0.601 GB, free: 6.816 MB / 443.1 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.0002028/0.9956, allocations: 124.7 kB / 0.6011 GB, free: 6.688 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.9958, allocations: 47.48 kB / 0.6012 GB, free: 6.641 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.9985, allocations: 0.7167 MB / 0.6019 GB, free: 5.91 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.9986, allocations: 8 kB / 0.6019 GB, free: 5.902 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.9986, allocations: 7.938 kB / 0.6019 GB, free: 5.895 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.9986, allocations: 7.984 kB / 0.6019 GB, free: 5.887 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004409/1.003, allocations: 1.478 MB / 0.6033 GB, free: 4.348 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/1.003, allocations: 0 / 0.6033 GB, free: 4.348 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/1.004, allocations: 67.91 kB / 0.6034 GB, free: 4.281 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009698/1.005, allocations: 207.2 kB / 0.6036 GB, free: 4.066 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.278e-05/1.005, allocations: 7.984 kB / 0.6036 GB, free: 4.059 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007625/1.012, allocations: 5.936 MB / 0.6094 GB, free: 13.66 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.078e-06/1.012, allocations: 4.031 kB / 0.6094 GB, free: 13.66 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003251/1.016, allocations: 1.242 MB / 0.6106 GB, free: 12.37 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/1.016, allocations: 124.5 kB / 0.6107 GB, free: 12.23 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.767e-05/1.016, allocations: 4 kB / 0.6108 GB, free: 12.22 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/1.017, allocations: 7.984 kB / 0.6108 GB, free: 12.21 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/1.017, allocations: 63.88 kB / 0.6108 GB, free: 12.15 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/1.017, allocations: 16 kB / 0.6108 GB, free: 12.14 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.0002874/1.017, allocations: 174 kB / 0.611 GB, free: 11.96 MB / 459.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.017, allocations: 0 / 0.611 GB, free: 11.96 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.001492/1.019, allocations: 243.2 kB / 0.6112 GB, free: 11.73 MB / 459.1 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.0003391/1.019, allocations: 145.6 kB / 0.6114 GB, free: 11.58 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.002237/1.021, allocations: 0.9845 MB / 0.6123 GB, free: 10.55 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.021, allocations: 1 kB / 0.6123 GB, free: 10.55 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001394/1.023, allocations: 0.7135 MB / 0.613 GB, free: 9.801 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/1.023, allocations: 24.55 kB / 0.6131 GB, free: 9.777 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/1.027, allocations: 0.9772 MB / 0.614 GB, free: 8.754 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007578/1.027, allocations: 0.9228 MB / 0.6149 GB, free: 7.805 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/1.028, allocations: 47.42 kB / 0.615 GB, free: 7.758 MB / 459.1 MB Notification: Performance of SimCode: time 1.233e-06/1.028, allocations: 4 kB / 0.615 GB, free: 7.754 MB / 459.1 MB Notification: Performance of Templates: time 0.03467/1.062, allocations: 17.98 MB / 0.6325 GB, free: 5.73 MB / 475.1 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