Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007686/0.0007687, allocations: 92.7 kB / 286.7 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1943/0.1943, allocations: 45.14 MB / 383.7 MB, free: 228 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.25e-05/1.253e-05, allocations: 0 / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3811/0.4864, allocations: 93.49 MB / 0.5957 GB, free: 9.148 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.4866, allocations: 83.89 kB / 0.5957 GB, free: 9.105 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06088/0.5476, allocations: 28.38 MB / 0.6234 GB, free: 2.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5476, allocations: 3.938 kB / 0.6234 GB, free: 2.637 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.891e-05/0.5476, allocations: 16 kB / 0.6235 GB, free: 2.621 MB / 410.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.00294/0.5506, allocations: 1.035 MB / 0.6245 GB, free: 1.641 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.5506, allocations: 8.031 kB / 0.6245 GB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.5523, allocations: 247.6 kB / 0.6247 GB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.5526, allocations: 261.8 kB / 0.625 GB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.5527, allocations: 42 kB / 0.625 GB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.553, allocations: 63.91 kB / 0.6251 GB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001338/0.5543, allocations: 0.6314 MB / 0.6257 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.5558, allocations: 0.758 MB / 0.6264 GB, free: 72 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.5558, allocations: 4 kB / 0.6264 GB, free: 68 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.359e-05/0.5559, allocations: 7.984 kB / 0.6264 GB, free: 60 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.5559, allocations: 24 kB / 0.6265 GB, free: 36 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004859/0.5608, allocations: 3.957 MB / 0.6303 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.5631, allocations: 3.335 MB / 0.6336 GB, free: 8.707 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.5634, allocations: 264.2 kB / 0.6338 GB, free: 8.527 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.5636, allocations: 179.2 kB / 0.634 GB, free: 8.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.5636, allocations: 42.33 kB / 0.634 GB, free: 8.273 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 4.018e-06/0.5637, allocations: 4 kB / 0.6341 GB, free: 8.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.001968/0.5656, allocations: 0.7346 MB / 0.6348 GB, free: 7.668 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.5657, allocations: 140.5 kB / 0.6349 GB, free: 7.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.566, allocations: 250 kB / 0.6351 GB, free: 7.297 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.566, allocations: 25.7 kB / 0.6352 GB, free: 7.266 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.5662, allocations: 401 kB / 0.6355 GB, free: 6.906 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.5664, allocations: 212.5 kB / 0.6357 GB, free: 6.723 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.5664, allocations: 4 kB / 0.6358 GB, free: 6.719 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5666, allocations: 349.3 kB / 0.6361 GB, free: 6.383 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.5668, allocations: 170.3 kB / 0.6362 GB, free: 6.281 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/0.5672, allocations: 366.9 kB / 0.6366 GB, free: 5.934 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.5685, allocations: 413.4 kB / 0.637 GB, free: 5.625 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.5685, allocations: 0 / 0.637 GB, free: 5.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002291/0.5708, allocations: 0.9413 MB / 0.6379 GB, free: 4.852 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.5708, allocations: 8 kB / 0.6379 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.5708, allocations: 4 kB / 0.6379 GB, free: 4.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007135/0.5716, allocations: 219 kB / 0.6381 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.5721, allocations: 140 kB / 0.6383 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/0.5773, allocations: 5.957 MB / 0.6441 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.5778, allocations: 71.17 kB / 0.6442 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/0.5779, allocations: 32 kB / 0.6442 GB, free: 14.29 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.0001639/0.578, allocations: 124.8 kB / 0.6443 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.5782, allocations: 43.48 kB / 0.6443 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/0.5803, allocations: 0.7902 MB / 0.6451 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.5803, allocations: 11.98 kB / 0.6451 GB, free: 13.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.5804, allocations: 4 kB / 0.6451 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.5804, allocations: 4 kB / 0.6451 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003049/0.5834, allocations: 1.563 MB / 0.6467 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.5834, allocations: 4 kB / 0.6467 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.5837, allocations: 63.91 kB / 0.6467 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005209/0.5842, allocations: 207.2 kB / 0.6469 GB, free: 11.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.5843, allocations: 11.98 kB / 0.6469 GB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004521/0.5888, allocations: 5.928 MB / 0.6527 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5888, allocations: 0 / 0.6527 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.5911, allocations: 1.316 MB / 0.654 GB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.5913, allocations: 132.5 kB / 0.6541 GB, free: 3.469 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.5913, allocations: 0 / 0.6541 GB, free: 3.469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.5917, allocations: 4.062 kB / 0.6541 GB, free: 3.465 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.5918, allocations: 59.88 kB / 0.6542 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.5918, allocations: 16 kB / 0.6542 GB, free: 3.391 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001821/0.592, allocations: 182 kB / 0.6544 GB, free: 3.215 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.592, allocations: 0 / 0.6544 GB, free: 3.215 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001009/0.593, allocations: 251.1 kB / 0.6546 GB, free: 2.969 MB / 442.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.0002454/0.5933, allocations: 145.5 kB / 0.6548 GB, free: 2.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.5947, allocations: 0.9736 MB / 0.6557 GB, free: 1.801 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5947, allocations: 384 / 0.6557 GB, free: 1.801 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007653/0.5955, allocations: 0.7173 MB / 0.6564 GB, free: 1.043 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.5959, allocations: 36.92 kB / 0.6564 GB, free: 1.008 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.598, allocations: 0.9286 MB / 0.6574 GB, free: 44 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/0.5986, allocations: 0.9306 MB / 0.6583 GB, free: 15.08 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003474/0.599, allocations: 72.36 kB / 0.6583 GB, free: 15.01 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.731e-05/0.5991, allocations: 31.44 kB / 0.6584 GB, free: 14.98 MB / 458.7 MB Notification: Performance of SimCode: time 6.32e-07/0.5991, allocations: 0 / 0.6584 GB, free: 14.98 MB / 458.7 MB Notification: Performance of Templates: time 0.01246/0.6116, allocations: 5.833 MB / 0.6641 GB, free: 9.172 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches