Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001172/0.001172, allocations: 202.8 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.356/1.356, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001031/0.001031, allocations: 93.14 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.04e-05/2.042e-05, allocations: 4 kB / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 51.48 MB / 395.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3838/0.4961, allocations: 81.57 MB / 476.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.4963, allocations: 85.45 kB / 476.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02864/0.525, allocations: 12.3 MB / 489.1 MB, free: 1.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.525, allocations: 0 / 489.1 MB, free: 1.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.525, allocations: 12 kB / 489.1 MB, free: 1.457 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001063/0.5261, allocations: 0.7306 MB / 489.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.5261, allocations: 8.031 kB / 489.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.675e-05/0.5262, allocations: 63.25 kB / 489.9 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.5267, allocations: 350.3 kB / 490.3 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.5267, allocations: 16 kB / 490.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.5267, allocations: 28 kB / 490.3 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004663/0.5272, allocations: 313.1 kB / 490.6 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005966/0.5278, allocations: 332.3 kB / 491 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.5278, allocations: 0 / 491 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.5279, allocations: 0 / 491 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.5279, allocations: 22.73 kB / 491 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.5301, allocations: 1.509 MB / 492.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.5306, allocations: 354.3 kB / 492.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/0.5309, allocations: 158.9 kB / 493 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.531, allocations: 8.391 kB / 493 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.531, allocations: 38.2 kB / 493 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.523e-06/0.531, allocations: 4 kB / 493 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.00167/0.5327, allocations: 0.8223 MB / 493.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.5327, allocations: 55.97 kB / 493.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.5331, allocations: 331.6 kB / 494.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.5331, allocations: 25.7 kB / 494.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.5333, allocations: 310.6 kB / 494.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.5334, allocations: 177.8 kB / 494.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.5334, allocations: 0 / 494.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5335, allocations: 362.6 kB / 495.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.5337, allocations: 139.9 kB / 495.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.534, allocations: 243.7 kB / 495.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.5343, allocations: 170.2 kB / 495.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5343, allocations: 0 / 495.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009332/0.5352, allocations: 0.6096 MB / 496.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5353, allocations: 4 kB / 496.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5353, allocations: 7.953 kB / 496.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004908/0.5358, allocations: 175.5 kB / 496.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/0.5363, allocations: 118.9 kB / 496.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/0.5396, allocations: 3.747 MB / 0.4886 GB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003736/0.54, allocations: 23.94 kB / 0.4886 GB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.5401, allocations: 26.8 kB / 0.4886 GB, free: 7.633 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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.0001076/0.5402, allocations: 112.9 kB / 0.4887 GB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.5403, allocations: 47.5 kB / 0.4888 GB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.5404, allocations: 53.44 kB / 0.4888 GB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.5404, allocations: 4 kB / 0.4888 GB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.5404, allocations: 4 kB / 0.4888 GB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.5404, allocations: 3.984 kB / 0.4888 GB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.5421, allocations: 1.127 MB / 0.4899 GB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.5421, allocations: 4 kB / 0.4899 GB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003017/0.5424, allocations: 73.61 kB / 0.49 GB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003645/0.5428, allocations: 152.8 kB / 0.4901 GB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.5428, allocations: 4 kB / 0.4902 GB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003252/0.546, allocations: 3.546 MB / 0.4936 GB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5461, allocations: 3.953 kB / 0.4936 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008395/0.5469, allocations: 0.6439 MB / 0.4942 GB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.547, allocations: 120.5 kB / 0.4944 GB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.5471, allocations: 1.875 kB / 0.4944 GB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.5474, allocations: 23.97 kB / 0.4944 GB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.5475, allocations: 51.7 kB / 0.4944 GB, free: 2.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.5476, allocations: 15.06 kB / 0.4944 GB, free: 2.203 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003073/0.5479, allocations: 251.9 kB / 0.4947 GB, free: 2.016 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5479, allocations: 0 / 0.4947 GB, free: 2.016 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007746/0.5487, allocations: 124 kB / 0.4948 GB, free: 1.895 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * 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.0002232/0.5489, allocations: 111.2 kB / 0.4949 GB, free: 1.773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.5499, allocations: 0.6545 MB / 0.4956 GB, free: 1.246 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.55, allocations: 8.312 kB / 0.4956 GB, free: 1.238 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005598/0.5505, allocations: 462.5 kB / 0.496 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.5509, allocations: 27.98 kB / 0.496 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.552, allocations: 0.6055 MB / 0.4966 GB, free: 132 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/0.5525, allocations: 0.8717 MB / 0.4975 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000201/0.5527, allocations: 44.25 kB / 0.4975 GB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.317e-05/0.5528, allocations: 35.44 kB / 0.4975 GB, free: 15.15 MB / 378.7 MB Notification: Performance of SimCode: time 1.693e-06/0.5528, allocations: 0 / 0.4975 GB, free: 15.15 MB / 378.7 MB Notification: Performance of Templates: time 0.008367/0.5612, allocations: 4.286 MB / 0.5017 GB, free: 10.93 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches