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.001142/0.001142, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008558/0.0008559, allocations: 85.62 kB / 292.1 MB, free: 5.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.567e-05, allocations: 4 kB / 350.6 MB, free: 2.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08886/0.0889, allocations: 51.48 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3384/0.4274, allocations: 89.04 MB / 491.1 MB, free: 500 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/0.4276, allocations: 88.03 kB / 491.2 MB, free: 452 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08655/0.5142, allocations: 37.57 MB / 0.5163 GB, free: 12.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5142, allocations: 4 kB / 0.5163 GB, free: 12.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.448e-05/0.5143, allocations: 16 kB / 0.5164 GB, free: 12.1 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.004671/0.5189, allocations: 1.486 MB / 0.5178 GB, free: 10.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.519, allocations: 12.03 kB / 0.5178 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/0.522, allocations: 462.2 kB / 0.5183 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.5224, allocations: 298.5 kB / 0.5185 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-05/0.5225, allocations: 94.58 kB / 0.5186 GB, free: 9.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/0.5227, allocations: 139.5 kB / 0.5188 GB, free: 9.547 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.5249, allocations: 1.226 MB / 0.52 GB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.677e-05/0.5249, allocations: 0 / 0.52 GB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.525, allocations: 56 kB / 0.52 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.5251, allocations: 28 kB / 0.52 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.527, allocations: 1.088 MB / 0.5211 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006503/0.5335, allocations: 4.349 MB / 0.5254 GB, free: 2.551 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/0.5357, allocations: 2.231 MB / 0.5275 GB, free: 76 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008377/0.5366, allocations: 0.5056 MB / 0.528 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002079/0.5368, allocations: 191.2 kB / 0.5282 GB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.5369, allocations: 47.56 kB / 0.5283 GB, free: 15.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 2.996e-06/0.5369, allocations: 0 / 0.5283 GB, free: 15.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=125): time 0.007025/0.5439, allocations: 2.78 MB / 0.531 GB, free: 12.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.544, allocations: 90.11 kB / 0.5311 GB, free: 12.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003976/0.5444, allocations: 339.4 kB / 0.5314 GB, free: 12.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.178e-05/0.5445, allocations: 53.7 kB / 0.5314 GB, free: 11.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.5447, allocations: 451 kB / 0.5319 GB, free: 11.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.545, allocations: 429.7 kB / 0.5323 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.062e-05/0.5451, allocations: 24 kB / 0.5323 GB, free: 11.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5453, allocations: 370.8 kB / 0.5326 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006489/0.5459, allocations: 356 kB / 0.533 GB, free: 10.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00081/0.5467, allocations: 0.6203 MB / 0.5336 GB, free: 9.602 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007747/0.5475, allocations: 449 kB / 0.534 GB, free: 9.164 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.5475, allocations: 7.953 kB / 0.534 GB, free: 9.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002249/0.5498, allocations: 1.299 MB / 0.5353 GB, free: 7.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.5498, allocations: 9.406 kB / 0.5353 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.5498, allocations: 8 kB / 0.5353 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005364/0.5504, allocations: 199.9 kB / 0.5355 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.5517, allocations: 299.6 kB / 0.5358 GB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/0.5558, allocations: 3.985 MB / 0.5397 GB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009818/0.5568, allocations: 91.92 kB / 0.5398 GB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/0.5569, allocations: 55.98 kB / 0.5398 GB, free: 2.941 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.0002253/0.5571, allocations: 172.7 kB / 0.54 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.5573, allocations: 67.23 kB / 0.5401 GB, free: 2.699 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/0.5596, allocations: 1.198 MB / 0.5412 GB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.5596, allocations: 12 kB / 0.5412 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5596, allocations: 4 kB / 0.5412 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.5596, allocations: 3.984 kB / 0.5412 GB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003969/0.5636, allocations: 2.384 MB / 0.5436 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.5636, allocations: 4 kB / 0.5436 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.5646, allocations: 227.8 kB / 0.5438 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/0.5651, allocations: 164 kB / 0.5439 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.826e-05/0.5652, allocations: 31.98 kB / 0.544 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00358/0.5688, allocations: 3.768 MB / 0.5477 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5688, allocations: 4 kB / 0.5477 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.5715, allocations: 1.686 MB / 0.5493 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003675/0.5718, allocations: 232.3 kB / 0.5495 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.572, allocations: 24 kB / 0.5496 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007358/0.5727, allocations: 71.91 kB / 0.5496 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.5729, allocations: 88.86 kB / 0.5497 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/0.573, allocations: 39.98 kB / 0.5497 GB, free: 8.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003007/0.5733, allocations: 259.9 kB / 0.55 GB, free: 8.086 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5733, allocations: 0 / 0.55 GB, free: 8.086 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001185/0.5745, allocations: 320 kB / 0.5503 GB, free: 7.773 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.0004131/0.5749, allocations: 232.2 kB / 0.5505 GB, free: 7.543 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.5771, allocations: 1.286 MB / 0.5518 GB, free: 6.234 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5771, allocations: 0 / 0.5518 GB, free: 6.234 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.5782, allocations: 0.7909 MB / 0.5525 GB, free: 5.422 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.5786, allocations: 51.95 kB / 0.5526 GB, free: 5.375 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.5818, allocations: 1.373 MB / 0.5539 GB, free: 3.969 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/0.5824, allocations: 1.021 MB / 0.5549 GB, free: 2.918 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007689/0.5832, allocations: 154.6 kB / 0.5551 GB, free: 2.762 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.5835, allocations: 75.41 kB / 0.5552 GB, free: 2.688 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5835, allocations: 0 / 0.5552 GB, free: 2.688 MB / 426.7 MB Notification: Performance of Templates: time 0.0183/0.6018, allocations: 9.699 MB / 0.5646 GB, free: 9.109 MB / 442.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