Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001489, allocations: 202.8 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000685/0.0006851, allocations: 102 kB / 297.4 MB, free: 6.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002003/0.0002004, allocations: 4 kB / 357.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1901, allocations: 51.29 MB / 408.7 MB, free: 27.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08809/0.2782, allocations: 82.22 MB / 490.9 MB, free: 9.418 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.2785, allocations: 87.95 kB / 491 MB, free: 9.332 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03215/0.3107, allocations: 12.32 MB / 0.4915 GB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3107, allocations: 0 / 0.4915 GB, free: 12.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.418e-05/0.3108, allocations: 12 kB / 0.4915 GB, free: 12.97 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.001479/0.3122, allocations: 0.7604 MB / 0.4922 GB, free: 12.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3123, allocations: 8.031 kB / 0.4922 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.3125, allocations: 60.28 kB / 0.4923 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.313, allocations: 356.5 kB / 0.4926 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.313, allocations: 41.69 kB / 0.4927 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/0.3131, allocations: 56.31 kB / 0.4927 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008056/0.3139, allocations: 447 kB / 0.4932 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.3139, allocations: 3.938 kB / 0.4932 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.314, allocations: 24 kB / 0.4932 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.314, allocations: 12 kB / 0.4932 GB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.3148, allocations: 401 kB / 0.4936 GB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.3173, allocations: 1.604 MB / 0.4952 GB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.318, allocations: 407.8 kB / 0.4955 GB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/0.3184, allocations: 185.4 kB / 0.4957 GB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.247e-05/0.3184, allocations: 8.391 kB / 0.4957 GB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.3184, allocations: 46.88 kB / 0.4958 GB, free: 8.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 2.264e-06/0.3185, allocations: 0 / 0.4958 GB, free: 8.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.003205/0.3217, allocations: 1.274 MB / 0.497 GB, free: 7.059 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.3217, allocations: 55.97 kB / 0.4971 GB, free: 6.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004057/0.3221, allocations: 397.5 kB / 0.4974 GB, free: 6.598 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.3222, allocations: 37.7 kB / 0.4975 GB, free: 6.555 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.3224, allocations: 299.9 kB / 0.4978 GB, free: 6.254 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.3225, allocations: 189.2 kB / 0.4979 GB, free: 6.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.3225, allocations: 12 kB / 0.498 GB, free: 6.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3227, allocations: 358.8 kB / 0.4983 GB, free: 5.695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/0.3231, allocations: 181.2 kB / 0.4985 GB, free: 5.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.3235, allocations: 311.1 kB / 0.4988 GB, free: 5.176 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008614/0.3244, allocations: 0.4985 MB / 0.4993 GB, free: 4.637 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3244, allocations: 3.938 kB / 0.4993 GB, free: 4.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00183/0.3263, allocations: 0.7498 MB / 0.5 GB, free: 3.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.3263, allocations: 8 kB / 0.5 GB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3263, allocations: 3.938 kB / 0.5 GB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/0.3269, allocations: 181.6 kB / 0.5002 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/0.3275, allocations: 119.8 kB / 0.5003 GB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1548/0.4823, allocations: 3.892 MB / 0.5041 GB, free: 93.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/0.4828, allocations: 34.66 kB / 0.5041 GB, free: 93.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.4829, allocations: 25.3 kB / 0.5042 GB, free: 93.98 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.0002307/0.4831, allocations: 184.8 kB / 0.5043 GB, free: 93.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.433e-05/0.4832, allocations: 48.5 kB / 0.5044 GB, free: 93.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.4833, allocations: 59.62 kB / 0.5044 GB, free: 93.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.4833, allocations: 8.094 kB / 0.5044 GB, free: 93.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.4834, allocations: 5.219 kB / 0.5044 GB, free: 93.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4834, allocations: 2.812 kB / 0.5044 GB, free: 93.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.4856, allocations: 1.313 MB / 0.5057 GB, free: 93.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4856, allocations: 2.359 kB / 0.5057 GB, free: 93.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.4859, allocations: 76.86 kB / 0.5058 GB, free: 93.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003868/0.4863, allocations: 157.2 kB / 0.506 GB, free: 93.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.4863, allocations: 10.8 kB / 0.506 GB, free: 93.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002693/0.489, allocations: 3.705 MB / 0.5096 GB, free: 90.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.489, allocations: 1.375 kB / 0.5096 GB, free: 90.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.4902, allocations: 0.722 MB / 0.5103 GB, free: 90.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.4903, allocations: 121.8 kB / 0.5104 GB, free: 90.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.4903, allocations: 13.09 kB / 0.5104 GB, free: 90.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.4906, allocations: 29.48 kB / 0.5104 GB, free: 90.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.4907, allocations: 45.44 kB / 0.5105 GB, free: 90.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.4907, allocations: 16.72 kB / 0.5105 GB, free: 90.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003189/0.4911, allocations: 272.2 kB / 0.5108 GB, free: 90.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4911, allocations: 0 / 0.5108 GB, free: 90.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007604/0.4918, allocations: 152.9 kB / 0.5109 GB, free: 90.42 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.0001427/0.492, allocations: 122.2 kB / 0.511 GB, free: 90.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.4934, allocations: 0.8019 MB / 0.5118 GB, free: 89.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4934, allocations: 3.625 kB / 0.5118 GB, free: 89.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000673/0.4941, allocations: 0.5333 MB / 0.5123 GB, free: 89.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.4946, allocations: 52.5 kB / 0.5124 GB, free: 89.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.4959, allocations: 1.138 MB / 0.5135 GB, free: 88.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.4961, allocations: 0.8619 MB / 0.5143 GB, free: 88.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.4962, allocations: 35.53 kB / 0.5144 GB, free: 88.18 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4962, allocations: 0 / 0.5144 GB, free: 88.18 MB / 378.7 MB Notification: Performance of Templates: time 0.008364/0.5046, allocations: 9.586 MB / 0.5237 GB, free: 84.71 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches