Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009018/0.0009018, allocations: 177.6 kB / 8.003 MB, free: 1.062 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.487/1.487, allocations: 205.3 MB / 213.7 MB, free: 1.672 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.0008057/0.0008057, allocations: 86.62 kB / 261.7 MB, free: 1.613 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.2118/0.2118, allocations: 43.5 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.473e-05/1.474e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4001/0.5149, allocations: 90.86 MB / 0.5547 GB, free: 4.617 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.5152, allocations: 82.48 kB / 0.5547 GB, free: 4.574 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05488/0.5701, allocations: 26.63 MB / 0.5807 GB, free: 15.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5701, allocations: 4 kB / 0.5808 GB, free: 15.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.5701, allocations: 12 kB / 0.5808 GB, free: 15.55 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.002369/0.5725, allocations: 1.031 MB / 0.5818 GB, free: 14.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.5726, allocations: 8.031 kB / 0.5818 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.5739, allocations: 239.6 kB / 0.582 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.5741, allocations: 242.6 kB / 0.5822 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.5743, allocations: 49.94 kB / 0.5823 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.5744, allocations: 63.42 kB / 0.5823 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00102/0.5754, allocations: 0.635 MB / 0.583 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.5766, allocations: 0.7601 MB / 0.5837 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.5766, allocations: 4 kB / 0.5837 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.547e-05/0.5767, allocations: 0 / 0.5837 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.5767, allocations: 28 kB / 0.5837 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00438/0.5811, allocations: 3.792 MB / 0.5874 GB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.5836, allocations: 3.331 MB / 0.5907 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.584, allocations: 259.3 kB / 0.5909 GB, free: 5.695 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.5841, allocations: 100.5 kB / 0.591 GB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.5841, allocations: 38.45 kB / 0.5911 GB, free: 5.539 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 2.915e-06/0.5841, allocations: 4 kB / 0.5911 GB, free: 5.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=66): time 0.001542/0.5857, allocations: 0.6736 MB / 0.5917 GB, free: 4.992 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.5858, allocations: 140.5 kB / 0.5919 GB, free: 4.824 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.5861, allocations: 241.6 kB / 0.5921 GB, free: 4.633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.5861, allocations: 25.7 kB / 0.5921 GB, free: 4.602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.5863, allocations: 401.9 kB / 0.5925 GB, free: 4.238 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.5865, allocations: 221.5 kB / 0.5927 GB, free: 4.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.5865, allocations: 0 / 0.5927 GB, free: 4.047 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5867, allocations: 352.1 kB / 0.5931 GB, free: 3.711 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.5869, allocations: 170.1 kB / 0.5932 GB, free: 3.609 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003675/0.5873, allocations: 359.6 kB / 0.5936 GB, free: 3.262 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/0.588, allocations: 338.7 kB / 0.5939 GB, free: 3.023 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.588, allocations: 4 kB / 0.5939 GB, free: 3.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001585/0.5896, allocations: 0.861 MB / 0.5947 GB, free: 2.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5897, allocations: 8 kB / 0.5947 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5897, allocations: 4 kB / 0.5947 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/0.5903, allocations: 216.8 kB / 0.5949 GB, free: 2.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.5908, allocations: 141.7 kB / 0.5951 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004867/0.5956, allocations: 5.957 MB / 0.6009 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.5962, allocations: 71.12 kB / 0.601 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.5963, allocations: 39.98 kB / 0.601 GB, free: 12.02 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.0001493/0.5964, allocations: 120.7 kB / 0.6011 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.5966, allocations: 43.48 kB / 0.6012 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.5981, allocations: 0.7147 MB / 0.6019 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5981, allocations: 8 kB / 0.6019 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5981, allocations: 4 kB / 0.6019 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.5981, allocations: 3.984 kB / 0.6019 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.6005, allocations: 1.482 MB / 0.6033 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.6005, allocations: 0 / 0.6033 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.6008, allocations: 71.91 kB / 0.6034 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005078/0.6013, allocations: 211.7 kB / 0.6036 GB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.6013, allocations: 4 kB / 0.6036 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004474/0.6058, allocations: 5.928 MB / 0.6094 GB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.6058, allocations: 3.984 kB / 0.6094 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.6076, allocations: 1.241 MB / 0.6106 GB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.6077, allocations: 128.5 kB / 0.6107 GB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.6078, allocations: 4 kB / 0.6107 GB, free: 1.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.6081, allocations: 8.062 kB / 0.6107 GB, free: 1.434 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.422e-05/0.6082, allocations: 55.81 kB / 0.6108 GB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.6082, allocations: 20 kB / 0.6108 GB, free: 1.359 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001999/0.6084, allocations: 182 kB / 0.611 GB, free: 1.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6084, allocations: 0 / 0.611 GB, free: 1.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001055/0.6095, allocations: 243.2 kB / 0.6112 GB, free: 0.9414 MB / 410.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.0002332/0.6097, allocations: 139 kB / 0.6113 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.611, allocations: 0.9852 MB / 0.6123 GB, free: 15.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6111, allocations: 384 / 0.6123 GB, free: 15.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000728/0.6118, allocations: 0.7141 MB / 0.613 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.6121, allocations: 16.69 kB / 0.613 GB, free: 15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.614, allocations: 0.9521 MB / 0.614 GB, free: 14.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.6145, allocations: 0.9267 MB / 0.6149 GB, free: 13.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002822/0.6148, allocations: 60.44 kB / 0.6149 GB, free: 13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.6148, allocations: 35.44 kB / 0.6149 GB, free: 12.96 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6149, allocations: 4 kB / 0.615 GB, free: 12.96 MB / 426.7 MB Notification: Performance of Templates: time 0.01047/0.6253, allocations: 5.763 MB / 0.6206 GB, free: 7.211 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/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_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches