Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009204/0.0009204, allocations: 180.1 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 221.4 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008649/0.0008648, allocations: 88.09 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1663/0.1663, allocations: 44.14 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.184e-05/2.186e-05, allocations: 4 kB / 451.8 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 61.92 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3678/0.476, allocations: 93.03 MB / 0.5926 GB, free: 12.26 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.4763, allocations: 79.95 kB / 0.5926 GB, free: 12.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05911/0.5354, allocations: 27.12 MB / 0.6191 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5355, allocations: 0 / 0.6191 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.5355, allocations: 16 kB / 0.6191 GB, free: 0.707 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.002192/0.5377, allocations: 1.033 MB / 0.6201 GB, free: 15.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.5377, allocations: 8.031 kB / 0.6201 GB, free: 15.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.539, allocations: 226.8 kB / 0.6204 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.5393, allocations: 258.5 kB / 0.6206 GB, free: 15.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.5394, allocations: 78 kB / 0.6207 GB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.5395, allocations: 107.8 kB / 0.6208 GB, free: 14.92 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.5409, allocations: 0.8967 MB / 0.6217 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.541, allocations: 7.984 kB / 0.6217 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.96e-05/0.5411, allocations: 36 kB / 0.6217 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.5411, allocations: 24 kB / 0.6217 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.5422, allocations: 0.6865 MB / 0.6224 GB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/0.5466, allocations: 3.955 MB / 0.6263 GB, free: 8.961 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/0.5489, allocations: 3.36 MB / 0.6295 GB, free: 4.949 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000355/0.5493, allocations: 282.4 kB / 0.6298 GB, free: 4.664 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.725e-05/0.5494, allocations: 97.41 kB / 0.6299 GB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.5494, allocations: 46.89 kB / 0.6299 GB, free: 4.496 MB / 442.7 MB Notification: Performance of pre-optimization done (n=66): time 2.825e-06/0.5494, allocations: 0 / 0.6299 GB, free: 4.496 MB / 442.7 MB Notification: Performance of matching and sorting (n=66): time 0.001111/0.5505, allocations: 0.6127 MB / 0.6305 GB, free: 3.867 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.5506, allocations: 136.5 kB / 0.6307 GB, free: 3.703 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.5509, allocations: 283.1 kB / 0.6309 GB, free: 3.418 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.5509, allocations: 37.7 kB / 0.631 GB, free: 3.375 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.5511, allocations: 398.4 kB / 0.6314 GB, free: 2.977 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.5513, allocations: 232.7 kB / 0.6316 GB, free: 2.746 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.5513, allocations: 16 kB / 0.6316 GB, free: 2.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5514, allocations: 346.8 kB / 0.6319 GB, free: 2.383 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.5517, allocations: 189.9 kB / 0.6321 GB, free: 2.199 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003982/0.5521, allocations: 376.7 kB / 0.6325 GB, free: 1.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.5525, allocations: 254.9 kB / 0.6327 GB, free: 1.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5525, allocations: 8 kB / 0.6327 GB, free: 1.492 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001268/0.5538, allocations: 0.8464 MB / 0.6335 GB, free: 0.625 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.5539, allocations: 12.05 kB / 0.6336 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.5539, allocations: 8 kB / 0.6336 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005749/0.5544, allocations: 227.2 kB / 0.6338 GB, free: 380 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.5549, allocations: 139.8 kB / 0.6339 GB, free: 240 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004584/0.5595, allocations: 6.217 MB / 0.64 GB, free: 9.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/0.56, allocations: 83.12 kB / 0.6401 GB, free: 9.398 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.56, allocations: 35.98 kB / 0.6401 GB, free: 9.363 MB / 458.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.0001392/0.5602, allocations: 152.8 kB / 0.6402 GB, free: 9.207 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.5603, allocations: 39.53 kB / 0.6403 GB, free: 9.168 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.5614, allocations: 0.6827 MB / 0.641 GB, free: 8.469 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5615, allocations: 4 kB / 0.641 GB, free: 8.465 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5615, allocations: 8 kB / 0.641 GB, free: 8.457 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.036e-06/0.5615, allocations: 3.984 kB / 0.641 GB, free: 8.453 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.5637, allocations: 1.547 MB / 0.6425 GB, free: 6.832 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5637, allocations: 7.984 kB / 0.6425 GB, free: 6.824 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.564, allocations: 63.92 kB / 0.6425 GB, free: 6.762 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005072/0.5645, allocations: 219.2 kB / 0.6428 GB, free: 6.535 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.5645, allocations: 12 kB / 0.6428 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005288/0.5698, allocations: 6.206 MB / 0.6488 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.5698, allocations: 3.938 kB / 0.6488 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.5714, allocations: 1.192 MB / 0.65 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.5715, allocations: 128.4 kB / 0.6501 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.5716, allocations: 12 kB / 0.6501 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.5719, allocations: 16 kB / 0.6501 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.572, allocations: 59.92 kB / 0.6502 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.572, allocations: 16.47 kB / 0.6502 GB, free: 14.29 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002198/0.5722, allocations: 207.1 kB / 0.6504 GB, free: 14.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5723, allocations: 0 / 0.6504 GB, free: 14.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001053/0.5733, allocations: 275.2 kB / 0.6507 GB, free: 13.82 MB / 474.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.0002625/0.5736, allocations: 158.2 kB / 0.6508 GB, free: 13.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.575, allocations: 1.056 MB / 0.6519 GB, free: 12.55 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.575, allocations: 0 / 0.6519 GB, free: 12.55 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007599/0.5758, allocations: 0.7706 MB / 0.6526 GB, free: 11.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.5761, allocations: 47.56 kB / 0.6527 GB, free: 11.69 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.5779, allocations: 0.974 MB / 0.6536 GB, free: 10.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.5784, allocations: 0.9229 MB / 0.6545 GB, free: 9.73 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002771/0.5787, allocations: 64.55 kB / 0.6546 GB, free: 9.664 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.525e-05/0.5788, allocations: 35.42 kB / 0.6546 GB, free: 9.629 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5788, allocations: 0 / 0.6546 GB, free: 9.629 MB / 474.7 MB Notification: Performance of Templates: time 0.0107/0.5895, allocations: 6.227 MB / 0.6607 GB, free: 3.43 MB / 474.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches