Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009851/0.0009853, allocations: 200 kB / 18.11 MB, free: 3.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 226.5 MB / 245.4 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007507/0.0007507, allocations: 107.4 kB / 297.5 MB, free: 6.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002192/0.0002193, allocations: 8 kB / 358.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2061, allocations: 51.29 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.323, allocations: 81.79 MB / 491.2 MB, free: 9.691 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.3233, allocations: 91.89 kB / 491.3 MB, free: 9.602 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0233/0.3466, allocations: 8.446 MB / 499.7 MB, free: 1.141 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3466, allocations: 0 / 499.7 MB, free: 1.141 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.3466, allocations: 4 kB / 499.7 MB, free: 1.137 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001057/0.3477, allocations: 0.6153 MB / 0.4886 GB, free: 484 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3477, allocations: 8.031 kB / 0.4886 GB, free: 476 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.862e-05/0.3479, allocations: 40.47 kB / 0.4886 GB, free: 436 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.3482, allocations: 273.3 kB / 0.4889 GB, free: 120 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.512e-05/0.3483, allocations: 29.02 kB / 0.4889 GB, free: 88 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.3484, allocations: 28.38 kB / 0.489 GB, free: 60 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006121/0.349, allocations: 302.5 kB / 0.4893 GB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.349, allocations: 192 / 0.4893 GB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.3491, allocations: 15.94 kB / 0.4893 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.3491, allocations: 8 kB / 0.4893 GB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007164/0.3498, allocations: 270.5 kB / 0.4895 GB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.3519, allocations: 1.139 MB / 0.4906 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/0.3524, allocations: 162.2 kB / 0.4908 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.3526, allocations: 72.73 kB / 0.4909 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.3527, allocations: 7.938 kB / 0.4909 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3527, allocations: 34.55 kB / 0.4909 GB, free: 13.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.3527, allocations: 3.938 kB / 0.4909 GB, free: 13.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.002062/0.3548, allocations: 0.6749 MB / 0.4916 GB, free: 13.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.3548, allocations: 55.41 kB / 0.4916 GB, free: 13.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.3552, allocations: 274.6 kB / 0.4919 GB, free: 12.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.3552, allocations: 37.64 kB / 0.4919 GB, free: 12.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.3553, allocations: 223.5 kB / 0.4921 GB, free: 12.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.3554, allocations: 78.84 kB / 0.4922 GB, free: 12.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.3554, allocations: 4 kB / 0.4922 GB, free: 12.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3556, allocations: 342.8 kB / 0.4925 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.3558, allocations: 107.9 kB / 0.4926 GB, free: 12.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/0.3562, allocations: 208 kB / 0.4928 GB, free: 11.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.3568, allocations: 325.1 kB / 0.4932 GB, free: 11.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3568, allocations: 0 / 0.4932 GB, free: 11.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008347/0.3577, allocations: 417.3 kB / 0.4936 GB, free: 11.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3577, allocations: 8 kB / 0.4936 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.3577, allocations: 7.938 kB / 0.4936 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/0.358, allocations: 57.69 kB / 0.4936 GB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.3583, allocations: 83.88 kB / 0.4937 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.3604, allocations: 2.639 MB / 0.4963 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.3607, allocations: 35.97 kB / 0.4963 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.3608, allocations: 8 kB / 0.4963 GB, free: 7.977 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 (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 0.0001705/0.3609, allocations: 153.8 kB / 0.4965 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.361, allocations: 23.72 kB / 0.4965 GB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.361, allocations: 34.11 kB / 0.4965 GB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3611, allocations: 0 / 0.4965 GB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.3611, allocations: 4 kB / 0.4965 GB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3611, allocations: 0 / 0.4965 GB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.3615, allocations: 333.5 kB / 0.4968 GB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.3615, allocations: 0 / 0.4968 GB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.3617, allocations: 51.84 kB / 0.4969 GB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001504/0.3618, allocations: 53.67 kB / 0.4969 GB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.3619, allocations: 11.94 kB / 0.497 GB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.3637, allocations: 2.644 MB / 0.4995 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3637, allocations: 0 / 0.4995 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.3645, allocations: 392.8 kB / 0.4999 GB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.3646, allocations: 100.8 kB / 0.5 GB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.3646, allocations: 8 kB / 0.5 GB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.3648, allocations: 19.98 kB / 0.5 GB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.3649, allocations: 15.97 kB / 0.5001 GB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3649, allocations: 8 kB / 0.5001 GB, free: 3.777 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001931/0.3651, allocations: 198 kB / 0.5002 GB, free: 3.586 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3651, allocations: 0 / 0.5002 GB, free: 3.586 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003776/0.3655, allocations: 76 kB / 0.5003 GB, free: 3.512 MB / 378.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 () * Number of clocked 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.0001364/0.3656, allocations: 107.2 kB / 0.5004 GB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008771/0.3665, allocations: 0.497 MB / 0.5009 GB, free: 2.875 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3665, allocations: 0 / 0.5009 GB, free: 2.875 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004727/0.367, allocations: 358.1 kB / 0.5013 GB, free: 2.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.3674, allocations: 27.92 kB / 0.5013 GB, free: 2.477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.3685, allocations: 0.6829 MB / 0.5019 GB, free: 1.762 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3688, allocations: 0.7713 MB / 0.5027 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.3689, allocations: 30.28 kB / 0.5027 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.369, allocations: 19.44 kB / 0.5027 GB, free: 0.918 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.369, allocations: 0 / 0.5027 GB, free: 0.918 MB / 378.7 MB Notification: Performance of Templates: time 0.1649/0.5339, allocations: 2.548 MB / 0.5052 GB, free: 96.48 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches