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.0009946/0.0009946, allocations: 201 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008214/0.0008214, allocations: 88.64 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002159/0.0002159, allocations: 8 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2055, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09181/0.2974, allocations: 82.22 MB / 491.6 MB, free: 9.289 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.2976, allocations: 84.67 kB / 491.7 MB, free: 9.207 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03151/0.3291, allocations: 12.32 MB / 0.4922 GB, free: 12.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3292, allocations: 0 / 0.4922 GB, free: 12.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.3292, allocations: 12 kB / 0.4922 GB, free: 12.84 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001362/0.3306, allocations: 0.7643 MB / 0.4929 GB, free: 12.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3306, allocations: 8.031 kB / 0.4929 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.3307, allocations: 64.27 kB / 0.493 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.3312, allocations: 356.5 kB / 0.4933 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.3313, allocations: 41.69 kB / 0.4934 GB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.328e-05/0.3314, allocations: 48.38 kB / 0.4934 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008044/0.3322, allocations: 447 kB / 0.4939 GB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.3322, allocations: 7.938 kB / 0.4939 GB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.3323, allocations: 20 kB / 0.4939 GB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.3323, allocations: 12 kB / 0.4939 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00084/0.3331, allocations: 401 kB / 0.4943 GB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002421/0.3356, allocations: 1.597 MB / 0.4958 GB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/0.3362, allocations: 415.6 kB / 0.4962 GB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.3366, allocations: 181.4 kB / 0.4964 GB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.3367, allocations: 12.31 kB / 0.4964 GB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.3367, allocations: 38.89 kB / 0.4965 GB, free: 8.227 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 1.522e-06/0.3367, allocations: 0 / 0.4965 GB, free: 8.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.003033/0.3397, allocations: 1.281 MB / 0.4977 GB, free: 6.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.3398, allocations: 59.95 kB / 0.4978 GB, free: 6.859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000397/0.3402, allocations: 393.5 kB / 0.4981 GB, free: 6.469 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.3402, allocations: 37.7 kB / 0.4982 GB, free: 6.426 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.3404, allocations: 291.9 kB / 0.4985 GB, free: 6.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.3405, allocations: 189.2 kB / 0.4986 GB, free: 5.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.3406, allocations: 16 kB / 0.4987 GB, free: 5.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3407, allocations: 354.9 kB / 0.499 GB, free: 5.574 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.3411, allocations: 189.1 kB / 0.4992 GB, free: 5.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.3416, allocations: 311.1 kB / 0.4995 GB, free: 5.047 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008503/0.3424, allocations: 0.5024 MB / 0.5 GB, free: 4.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3424, allocations: 0 / 0.5 GB, free: 4.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001302/0.3437, allocations: 0.7459 MB / 0.5007 GB, free: 3.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3438, allocations: 8 kB / 0.5007 GB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3438, allocations: 11.94 kB / 0.5007 GB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000479/0.3443, allocations: 181.1 kB / 0.5009 GB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.3447, allocations: 115.8 kB / 0.501 GB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1769/0.5217, allocations: 3.888 MB / 0.5048 GB, free: 94.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005392/0.5222, allocations: 40.64 kB / 0.5048 GB, free: 94.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.5223, allocations: 23.39 kB / 0.5048 GB, free: 94.01 MB / 378.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 () * Number of clocked 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.0002823/0.5226, allocations: 183 kB / 0.505 GB, free: 93.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.811e-05/0.5227, allocations: 46.11 kB / 0.5051 GB, free: 93.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.5228, allocations: 59.75 kB / 0.5051 GB, free: 93.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.5228, allocations: 9.141 kB / 0.5051 GB, free: 93.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.428e-05/0.5228, allocations: 5.094 kB / 0.5051 GB, free: 93.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.5229, allocations: 3.375 kB / 0.5051 GB, free: 93.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.5253, allocations: 1.316 MB / 0.5064 GB, free: 93.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.5254, allocations: 3.656 kB / 0.5064 GB, free: 93.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.5257, allocations: 72.55 kB / 0.5065 GB, free: 93.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004283/0.5261, allocations: 163.2 kB / 0.5067 GB, free: 93.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.5262, allocations: 10.75 kB / 0.5067 GB, free: 93.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002898/0.5291, allocations: 3.708 MB / 0.5103 GB, free: 90.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5291, allocations: 1.375 kB / 0.5103 GB, free: 90.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.5303, allocations: 0.7177 MB / 0.511 GB, free: 90.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.5305, allocations: 121 kB / 0.5111 GB, free: 90.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.5306, allocations: 15.48 kB / 0.5111 GB, free: 90.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.5309, allocations: 27.05 kB / 0.5111 GB, free: 90.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.531, allocations: 48.31 kB / 0.5112 GB, free: 90.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.531, allocations: 13.28 kB / 0.5112 GB, free: 90.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003618/0.5314, allocations: 274.5 kB / 0.5115 GB, free: 90.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5314, allocations: 1.062 kB / 0.5115 GB, free: 90.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008014/0.5322, allocations: 156 kB / 0.5116 GB, free: 90.45 MB / 378.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 () * Number of clocked 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.0001702/0.5324, allocations: 116.6 kB / 0.5117 GB, free: 90.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.5341, allocations: 0.8058 MB / 0.5125 GB, free: 89.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5341, allocations: 0.6562 kB / 0.5125 GB, free: 89.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008265/0.5349, allocations: 0.5311 MB / 0.513 GB, free: 89.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.5354, allocations: 47.75 kB / 0.5131 GB, free: 89.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.5369, allocations: 1.112 MB / 0.5142 GB, free: 88.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.5371, allocations: 0.856 MB / 0.515 GB, free: 88.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.5373, allocations: 43.27 kB / 0.515 GB, free: 88.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.5374, allocations: 41.52 kB / 0.5151 GB, free: 88.16 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5374, allocations: 0 / 0.5151 GB, free: 88.16 MB / 378.7 MB Notification: Performance of Templates: time 0.008259/0.5457, allocations: 4.554 MB / 0.5195 GB, free: 87.91 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/jenkins1/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