Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, 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.351/1.351, allocations: 225.6 MB / 234.8 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008105/0.0008106, allocations: 94.52 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.901e-05, allocations: 4 kB / 343.7 MB, free: 8.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09226/0.0923, allocations: 51.47 MB / 395.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.4448, allocations: 88.37 MB / 483.5 MB, free: 4.922 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/0.4452, allocations: 93.84 kB / 483.6 MB, free: 4.871 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1429/0.5881, allocations: 37.17 MB / 0.5086 GB, free: 4.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.5882, allocations: 0 / 0.5086 GB, free: 4.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.851e-05/0.5882, allocations: 24 kB / 0.5086 GB, free: 4.465 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.004183/0.5924, allocations: 1.482 MB / 0.5101 GB, free: 2.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.5925, allocations: 12.03 kB / 0.5101 GB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/0.5953, allocations: 458.2 kB / 0.5105 GB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.5956, allocations: 302.5 kB / 0.5108 GB, free: 2.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/0.5956, allocations: 40 kB / 0.5108 GB, free: 2.102 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.5958, allocations: 79.52 kB / 0.5109 GB, free: 2.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001683/0.5975, allocations: 1.02 MB / 0.5119 GB, free: 1.004 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.5993, allocations: 1.037 MB / 0.5129 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.5993, allocations: 4 kB / 0.5129 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.809e-05/0.5994, allocations: 5.672 kB / 0.5129 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.5995, allocations: 32 kB / 0.513 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005758/0.6052, allocations: 4.138 MB / 0.517 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.6072, allocations: 2.194 MB / 0.5192 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006838/0.6079, allocations: 479.5 kB / 0.5196 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.6081, allocations: 195.5 kB / 0.5198 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.6081, allocations: 43.88 kB / 0.5198 GB, free: 8.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 2.815e-06/0.6081, allocations: 4 kB / 0.5198 GB, free: 8.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.009609/0.6177, allocations: 3.334 MB / 0.5231 GB, free: 4.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.6178, allocations: 90.42 kB / 0.5232 GB, free: 4.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/0.6182, allocations: 306.1 kB / 0.5235 GB, free: 4.566 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.6182, allocations: 25.7 kB / 0.5235 GB, free: 4.535 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.6185, allocations: 454.9 kB / 0.5239 GB, free: 4.082 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003011/0.6188, allocations: 409.8 kB / 0.5243 GB, free: 3.676 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.6189, allocations: 3.938 kB / 0.5243 GB, free: 3.672 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.619, allocations: 370.8 kB / 0.5247 GB, free: 3.301 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/0.6195, allocations: 325.5 kB / 0.525 GB, free: 2.984 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006911/0.6202, allocations: 0.5813 MB / 0.5256 GB, free: 2.297 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.6226, allocations: 0.7594 MB / 0.5263 GB, free: 1.539 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.6226, allocations: 4 kB / 0.5263 GB, free: 1.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003603/0.6262, allocations: 1.533 MB / 0.5278 GB, free: 15.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.6262, allocations: 8 kB / 0.5278 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.6263, allocations: 8 kB / 0.5278 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005551/0.6268, allocations: 181.6 kB / 0.528 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.6281, allocations: 303.6 kB / 0.5283 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003625/0.6317, allocations: 3.821 MB / 0.532 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009139/0.6327, allocations: 63.92 kB / 0.5321 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.749e-05/0.6328, allocations: 55.98 kB / 0.5321 GB, free: 11.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 144 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002009/0.633, allocations: 148.5 kB / 0.5323 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.6331, allocations: 63.25 kB / 0.5323 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003618/0.6367, allocations: 1.451 MB / 0.5337 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.6367, allocations: 12 kB / 0.5338 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6368, allocations: 4 kB / 0.5338 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.6368, allocations: 7.969 kB / 0.5338 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004895/0.6417, allocations: 2.493 MB / 0.5362 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6417, allocations: 0 / 0.5362 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.6427, allocations: 227.9 kB / 0.5364 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003797/0.6431, allocations: 168.2 kB / 0.5366 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.6432, allocations: 11.94 kB / 0.5366 GB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003071/0.6463, allocations: 3.627 MB / 0.5401 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6463, allocations: 0 / 0.5401 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003924/0.6502, allocations: 1.958 MB / 0.5421 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.6505, allocations: 224.3 kB / 0.5423 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-05/0.6506, allocations: 4 kB / 0.5423 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000697/0.6513, allocations: 56 kB / 0.5423 GB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.6515, allocations: 89.19 kB / 0.5424 GB, free: 420 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-05/0.6516, allocations: 35.98 kB / 0.5424 GB, free: 384 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002135/0.6518, allocations: 228.6 kB / 0.5427 GB, free: 160 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6518, allocations: 0 / 0.5427 GB, free: 160 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.00104/0.6529, allocations: 272 kB / 0.5429 GB, free: 15.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (voltageSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 104 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002826/0.6531, allocations: 174.9 kB / 0.5431 GB, free: 15.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001715/0.6549, allocations: 1.203 MB / 0.5443 GB, free: 14.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.6549, allocations: 0 / 0.5443 GB, free: 14.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000911/0.6558, allocations: 0.7536 MB / 0.545 GB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.6561, allocations: 32.86 kB / 0.545 GB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.6589, allocations: 1.301 MB / 0.5463 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006149/0.6595, allocations: 1.025 MB / 0.5473 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007543/0.6603, allocations: 150.6 kB / 0.5474 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.6605, allocations: 71.41 kB / 0.5475 GB, free: 11.07 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6605, allocations: 4 kB / 0.5475 GB, free: 11.07 MB / 426.7 MB Notification: Performance of Templates: time 0.01587/0.6764, allocations: 8.96 MB / 0.5563 GB, free: 2.215 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches