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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 188.7 kB / 7.804 MB, free: 2.445 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.017/1.017, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009428/0.0009429, allocations: 91.73 kB / 261.4 MB, free: 13.54 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.151/0.151, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.17e-06/5.2e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2261, allocations: 58.83 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.3385, allocations: 90.8 MB / 0.5541 GB, free: 8.145 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.3387, allocations: 79.95 kB / 0.5541 GB, free: 8.066 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.05419/0.393, allocations: 26.29 MB / 0.5798 GB, free: 13.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.393, allocations: 12 kB / 0.5798 GB, free: 13.4 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.002137/0.3951, allocations: 1.029 MB / 0.5808 GB, free: 12.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.3952, allocations: 8.031 kB / 0.5808 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.3966, allocations: 246.8 kB / 0.5811 GB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.3968, allocations: 254.6 kB / 0.5813 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.3969, allocations: 45.98 kB / 0.5814 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.397, allocations: 63.91 kB / 0.5814 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001086/0.3981, allocations: 0.6366 MB / 0.582 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.3993, allocations: 0.7561 MB / 0.5828 GB, free: 10.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.3993, allocations: 7.906 kB / 0.5828 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/0.3994, allocations: 0 / 0.5828 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.3994, allocations: 24 kB / 0.5828 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004187/0.4036, allocations: 3.792 MB / 0.5865 GB, free: 6.113 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007131/0.4043, allocations: 0.5647 MB / 0.5871 GB, free: 5.512 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.4046, allocations: 251.7 kB / 0.5873 GB, free: 5.254 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.164e-05/0.4047, allocations: 93.42 kB / 0.5874 GB, free: 5.145 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.4048, allocations: 46.8 kB / 0.5874 GB, free: 5.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 2.094e-06/0.4048, allocations: 7.938 kB / 0.5874 GB, free: 5.082 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.001308/0.4061, allocations: 0.6113 MB / 0.588 GB, free: 4.453 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.4062, allocations: 144.4 kB / 0.5882 GB, free: 4.281 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.4064, allocations: 240.8 kB / 0.5884 GB, free: 4.043 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.4064, allocations: 25.7 kB / 0.5884 GB, free: 4.012 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.4066, allocations: 394.4 kB / 0.5888 GB, free: 3.617 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.4068, allocations: 220.7 kB / 0.589 GB, free: 3.398 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.4068, allocations: 0 / 0.589 GB, free: 3.398 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.407, allocations: 350.8 kB / 0.5893 GB, free: 3.047 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.4072, allocations: 182 kB / 0.5895 GB, free: 2.871 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.4076, allocations: 374.7 kB / 0.5899 GB, free: 2.422 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.4082, allocations: 272.6 kB / 0.5901 GB, free: 2.156 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.4082, allocations: 4 kB / 0.5901 GB, free: 2.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001458/0.4097, allocations: 0.8064 MB / 0.5909 GB, free: 1.324 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.4097, allocations: 4 kB / 0.5909 GB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.4097, allocations: 8 kB / 0.5909 GB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/0.4103, allocations: 211.5 kB / 0.5911 GB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.4108, allocations: 143.8 kB / 0.5913 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004315/0.4152, allocations: 5.849 MB / 0.597 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.4156, allocations: 67.28 kB / 0.5971 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/0.4157, allocations: 39.98 kB / 0.5971 GB, free: 10.54 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 () * 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.0001207/0.4158, allocations: 128.7 kB / 0.5972 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.416, allocations: 39.53 kB / 0.5973 GB, free: 10.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.4173, allocations: 0.664 MB / 0.5979 GB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.4173, allocations: 11.98 kB / 0.5979 GB, free: 9.676 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.4173, allocations: 4 kB / 0.5979 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4173, allocations: 3.938 kB / 0.5979 GB, free: 9.668 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.4196, allocations: 1.512 MB / 0.5994 GB, free: 8.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4196, allocations: 3.984 kB / 0.5994 GB, free: 8.066 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.4199, allocations: 63.92 kB / 0.5995 GB, free: 8.004 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004925/0.4204, allocations: 219.5 kB / 0.5997 GB, free: 7.777 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.4204, allocations: 4 kB / 0.5997 GB, free: 7.773 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004178/0.4246, allocations: 5.823 MB / 0.6054 GB, free: 1.492 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.4246, allocations: 4.188 kB / 0.6054 GB, free: 1.488 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001562/0.4262, allocations: 1.191 MB / 0.6065 GB, free: 256 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.4263, allocations: 132.4 kB / 0.6067 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/0.4264, allocations: 0 / 0.6067 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.4267, allocations: 7.906 kB / 0.6067 GB, free: 96 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.4268, allocations: 39.8 kB / 0.6067 GB, free: 56 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.4268, allocations: 20.06 kB / 0.6067 GB, free: 36 kB / 442.7 MB Notification: Performance of sort global known variables: time 0.0001723/0.427, allocations: 181.2 kB / 0.6069 GB, free: 15.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009344/0.4279, allocations: 239.1 kB / 0.6071 GB, free: 15.62 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 () * 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.0002267/0.4282, allocations: 139.1 kB / 0.6073 GB, free: 15.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.4294, allocations: 0.9625 MB / 0.6082 GB, free: 14.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.4294, allocations: 0 / 0.6082 GB, free: 14.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000689/0.4301, allocations: 0.6831 MB / 0.6089 GB, free: 13.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.4305, allocations: 27.86 kB / 0.6089 GB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.4323, allocations: 0.9518 MB / 0.6098 GB, free: 12.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005636/0.4329, allocations: 0.9612 MB / 0.6108 GB, free: 11.75 MB / 458.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4329, allocations: 0 / 0.6108 GB, free: 11.75 MB / 458.7 MB Notification: Performance of Templates: time 0.0123/0.4452, allocations: 7.769 MB / 0.6183 GB, free: 3.977 MB / 458.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