Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001574, allocations: 198.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.331/1.331, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 100.7 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.345e-05/1.347e-05, allocations: 0 / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09553/0.09556, allocations: 51.48 MB / 395.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2722/0.3678, allocations: 81.05 MB / 476.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/0.368, allocations: 77.25 kB / 476.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01998/0.388, allocations: 8.349 MB / 484.7 MB, free: 5.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.388, allocations: 4 kB / 484.7 MB, free: 5.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.3881, allocations: 4 kB / 484.7 MB, free: 5.195 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.000727/0.3888, allocations: 0.5651 MB / 485.2 MB, free: 4.609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3888, allocations: 12.03 kB / 485.2 MB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.3889, allocations: 35.53 kB / 485.3 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.3892, allocations: 264.5 kB / 485.5 MB, free: 4.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.3892, allocations: 16 kB / 485.5 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.3893, allocations: 23 kB / 485.6 MB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002984/0.3896, allocations: 187.7 kB / 485.7 MB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.3899, allocations: 211.2 kB / 486 MB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3899, allocations: 0 / 486 MB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.3899, allocations: 0 / 486 MB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.39, allocations: 11.98 kB / 486 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.3912, allocations: 1.071 MB / 487 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.3914, allocations: 122 kB / 487.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.614e-05/0.3915, allocations: 48.8 kB / 487.2 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.3915, allocations: 4 kB / 487.2 MB, free: 2.852 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.3916, allocations: 34.25 kB / 487.2 MB, free: 2.812 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.3916, allocations: 0 / 487.2 MB, free: 2.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.000802/0.3924, allocations: 382.8 kB / 487.6 MB, free: 2.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.748e-05/0.3924, allocations: 55.59 kB / 487.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.3926, allocations: 213.1 kB / 487.9 MB, free: 2.238 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.3926, allocations: 25.7 kB / 487.9 MB, free: 2.207 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.3927, allocations: 231.4 kB / 488.1 MB, free: 2.012 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.3927, allocations: 80.59 kB / 488.2 MB, free: 1.941 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.3928, allocations: 4 kB / 488.2 MB, free: 1.938 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.534e-05/0.3928, allocations: 337.2 kB / 488.5 MB, free: 1.609 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.123e-05/0.3929, allocations: 61 kB / 488.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.3931, allocations: 161.8 kB / 488.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.3932, allocations: 78.08 kB / 488.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3932, allocations: 0 / 488.8 MB, free: 1.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003847/0.3936, allocations: 300 kB / 489.1 MB, free: 1.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3936, allocations: 15.95 kB / 489.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3936, allocations: 4 kB / 489.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/0.3938, allocations: 54.8 kB / 489.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.3942, allocations: 82.89 kB / 489.3 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.3958, allocations: 2.517 MB / 491.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.396, allocations: 26.61 kB / 491.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.3961, allocations: 15.81 kB / 491.8 MB, free: 14.28 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 (37): * Single equations (assignments): 35 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.739e-05/0.3962, allocations: 116.8 kB / 492 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.3962, allocations: 27.62 kB / 492 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.627e-05/0.3963, allocations: 31.97 kB / 492 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3963, allocations: 4 kB / 492 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3963, allocations: 0 / 492 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3963, allocations: 7.984 kB / 492 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.3966, allocations: 273.4 kB / 492.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3966, allocations: 0 / 492.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.3968, allocations: 43.95 kB / 492.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.397, allocations: 55.81 kB / 492.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.397, allocations: 3.938 kB / 492.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.3987, allocations: 2.52 MB / 494.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3987, allocations: 3.953 kB / 494.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.399, allocations: 307.2 kB / 495.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.729e-05/0.3991, allocations: 96.83 kB / 495.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.3991, allocations: 0 / 495.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.3994, allocations: 19.97 kB / 495.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.3994, allocations: 23.84 kB / 495.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3994, allocations: 4 kB / 495.4 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.3996, allocations: 173.4 kB / 495.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3996, allocations: 0 / 495.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003562/0.4, allocations: 64 kB / 495.6 MB, free: 10.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001619/0.4001, allocations: 103.2 kB / 495.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005734/0.4007, allocations: 408.1 kB / 496.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4007, allocations: 0 / 496.1 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003371/0.4011, allocations: 301.6 kB / 496.4 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.4013, allocations: 26.16 kB / 496.4 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006856/0.402, allocations: 321.5 kB / 496.7 MB, free: 9.406 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.4024, allocations: 0.7794 MB / 497.5 MB, free: 8.602 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.4025, allocations: 30.14 kB / 497.5 MB, free: 8.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.4026, allocations: 23.44 kB / 497.6 MB, free: 8.547 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4026, allocations: 4 kB / 497.6 MB, free: 8.543 MB / 362.7 MB Notification: Performance of Templates: time 0.005369/0.408, allocations: 2.318 MB / 499.9 MB, free: 6.285 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches