Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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) 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(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009337/0.0009338, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.322/1.322, allocations: 221.3 MB / 235.5 MB, free: 2.93 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.001141/0.001141, allocations: 88.09 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.493e-05/2.496e-05, allocations: 0 / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09429/0.09433, allocations: 50.41 MB / 394.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3055/0.3999, allocations: 81.39 MB / 475.6 MB, free: 6.148 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.4001, allocations: 83.78 kB / 475.7 MB, free: 6.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03296/0.4331, allocations: 12.26 MB / 488 MB, free: 9.781 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4331, allocations: 0 / 488 MB, free: 9.781 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.4332, allocations: 8 kB / 488 MB, free: 9.773 MB / 362.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.001228/0.4344, allocations: 0.7211 MB / 488.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4344, allocations: 8.031 kB / 488.7 MB, free: 9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.4346, allocations: 63.25 kB / 488.8 MB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.4351, allocations: 347.3 kB / 489.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.4351, allocations: 41.31 kB / 489.2 MB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.4352, allocations: 48 kB / 489.2 MB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000679/0.4359, allocations: 398.6 kB / 489.6 MB, free: 8.074 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.4359, allocations: 0 / 489.6 MB, free: 8.074 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.436, allocations: 20 kB / 489.6 MB, free: 8.055 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.436, allocations: 15.95 kB / 489.6 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005738/0.4366, allocations: 345.1 kB / 490 MB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.439, allocations: 1.585 MB / 491.5 MB, free: 6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.4396, allocations: 401.5 kB / 491.9 MB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.4399, allocations: 153.5 kB / 492.1 MB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.44, allocations: 12.33 kB / 492.1 MB, free: 5.414 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.44, allocations: 34.89 kB / 492.1 MB, free: 5.371 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 1.953e-06/0.44, allocations: 3.938 kB / 492.1 MB, free: 5.367 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.002619/0.4426, allocations: 1.061 MB / 493.2 MB, free: 4.297 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.4427, allocations: 59.97 kB / 493.3 MB, free: 4.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.4431, allocations: 346.8 kB / 493.6 MB, free: 3.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.4431, allocations: 33.7 kB / 493.6 MB, free: 3.836 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.4433, allocations: 299.8 kB / 493.9 MB, free: 3.539 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.4434, allocations: 197.3 kB / 494.1 MB, free: 3.344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.4435, allocations: 8 kB / 494.1 MB, free: 3.336 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4436, allocations: 354.8 kB / 494.5 MB, free: 2.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.4439, allocations: 153.5 kB / 494.6 MB, free: 2.828 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.4442, allocations: 256.4 kB / 494.9 MB, free: 2.531 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.4445, allocations: 187.2 kB / 495.1 MB, free: 2.352 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4446, allocations: 4 kB / 495.1 MB, free: 2.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001088/0.4456, allocations: 0.664 MB / 495.7 MB, free: 1.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.4457, allocations: 9.25 kB / 495.7 MB, free: 1.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.4457, allocations: 8 kB / 495.7 MB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005214/0.4462, allocations: 185.7 kB / 495.9 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005092/0.4467, allocations: 119.9 kB / 496 MB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003725/0.4505, allocations: 3.877 MB / 499.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.4509, allocations: 35.98 kB / 499.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.451, allocations: 23.95 kB / 500 MB, free: 13.15 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 () * 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.0001332/0.4511, allocations: 148.8 kB / 0.4884 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.4512, allocations: 47.42 kB / 0.4884 GB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.4513, allocations: 60.8 kB / 0.4885 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.4514, allocations: 4 kB / 0.4885 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.4514, allocations: 4 kB / 0.4885 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.4514, allocations: 3.984 kB / 0.4885 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.4532, allocations: 1.242 MB / 0.4897 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.4532, allocations: 0 / 0.4897 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.4536, allocations: 75.89 kB / 0.4898 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004061/0.454, allocations: 157.7 kB / 0.4899 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.454, allocations: 8 kB / 0.49 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/0.4573, allocations: 3.696 MB / 0.4936 GB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4573, allocations: 0 / 0.4936 GB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009144/0.4583, allocations: 0.6798 MB / 0.4942 GB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.4584, allocations: 124.4 kB / 0.4943 GB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.4584, allocations: 11.98 kB / 0.4944 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.4588, allocations: 31.94 kB / 0.4944 GB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.69e-05/0.4589, allocations: 48.75 kB / 0.4944 GB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.4589, allocations: 8 kB / 0.4944 GB, free: 6.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002876/0.4592, allocations: 273.2 kB / 0.4947 GB, free: 6.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4592, allocations: 0 / 0.4947 GB, free: 6.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000654/0.4599, allocations: 155.9 kB / 0.4949 GB, free: 5.965 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 () * 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.000173/0.46, allocations: 119.2 kB / 0.495 GB, free: 5.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.4611, allocations: 0.7183 MB / 0.4957 GB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4611, allocations: 0 / 0.4957 GB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005974/0.4617, allocations: 497 kB / 0.4961 GB, free: 4.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.462, allocations: 41.55 kB / 0.4962 GB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.4632, allocations: 0.6216 MB / 0.4968 GB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.4636, allocations: 0.8717 MB / 0.4976 GB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.4638, allocations: 48.36 kB / 0.4977 GB, free: 2.926 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/0.4639, allocations: 27.44 kB / 0.4977 GB, free: 2.898 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4639, allocations: 0 / 0.4977 GB, free: 2.898 MB / 378.7 MB Notification: Performance of Templates: time 0.00905/0.473, allocations: 4.572 MB / 0.5022 GB, free: 14.33 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches