Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009615/0.0009614, allocations: 204.1 kB / 18.07 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 226.5 MB / 245.4 MB, free: 8.152 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007009/0.000701, allocations: 98.06 kB / 297.4 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002027/0.0002027, allocations: 8 kB / 357.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.177, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08327/0.2603, allocations: 81.8 MB / 490.5 MB, free: 9.789 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.2605, allocations: 91.89 kB / 490.6 MB, free: 9.699 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02201/0.2826, allocations: 8.445 MB / 499 MB, free: 1.234 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.2826, allocations: 4 kB / 499 MB, free: 1.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2826, allocations: 4 kB / 499 MB, free: 1.227 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.0009466/0.2836, allocations: 0.6036 MB / 499.6 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2836, allocations: 8.031 kB / 499.6 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/0.2837, allocations: 40.47 kB / 499.7 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.284, allocations: 281.3 kB / 499.9 MB, free: 216 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.284, allocations: 25.03 kB / 500 MB, free: 188 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.2841, allocations: 28.38 kB / 500 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.2847, allocations: 298.6 kB / 0.4886 GB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2847, allocations: 192 / 0.4886 GB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.2847, allocations: 15.94 kB / 0.4886 GB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2847, allocations: 12 kB / 0.4886 GB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005974/0.2853, allocations: 270.5 kB / 0.4888 GB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.287, allocations: 1.135 MB / 0.4899 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.2873, allocations: 156.7 kB / 0.4901 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.2875, allocations: 80.72 kB / 0.4902 GB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.2875, allocations: 11.92 kB / 0.4902 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.2876, allocations: 30.56 kB / 0.4902 GB, free: 14.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.422e-06/0.2876, allocations: 3.938 kB / 0.4902 GB, free: 14.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.00196/0.2895, allocations: 0.6752 MB / 0.4909 GB, free: 13.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.2896, allocations: 55.41 kB / 0.4909 GB, free: 13.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.2899, allocations: 270.6 kB / 0.4912 GB, free: 13.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.2899, allocations: 37.64 kB / 0.4912 GB, free: 12.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.29, allocations: 227.5 kB / 0.4914 GB, free: 12.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.2901, allocations: 78.84 kB / 0.4915 GB, free: 12.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.2901, allocations: 8 kB / 0.4915 GB, free: 12.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2902, allocations: 338.8 kB / 0.4918 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.2905, allocations: 111.9 kB / 0.492 GB, free: 12.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.2909, allocations: 204.1 kB / 0.4921 GB, free: 11.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006242/0.2915, allocations: 329.1 kB / 0.4925 GB, free: 11.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2915, allocations: 3.938 kB / 0.4925 GB, free: 11.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008253/0.2923, allocations: 413.3 kB / 0.4929 GB, free: 11.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2924, allocations: 8 kB / 0.4929 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.2924, allocations: 7.938 kB / 0.4929 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/0.2926, allocations: 61.66 kB / 0.4929 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.2929, allocations: 79.89 kB / 0.493 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/0.2947, allocations: 2.643 MB / 0.4956 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.295, allocations: 28.11 kB / 0.4956 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.295, allocations: 16 kB / 0.4956 GB, free: 8.07 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.0001571/0.2952, allocations: 145.8 kB / 0.4958 GB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.2952, allocations: 23.72 kB / 0.4958 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.474e-05/0.2953, allocations: 34.11 kB / 0.4958 GB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2953, allocations: 4 kB / 0.4958 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2953, allocations: 4 kB / 0.4958 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2953, allocations: 3.984 kB / 0.4958 GB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.2957, allocations: 333.4 kB / 0.4962 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2957, allocations: 0 / 0.4962 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.2959, allocations: 47.89 kB / 0.4962 GB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001494/0.296, allocations: 53.69 kB / 0.4963 GB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.2961, allocations: 11.92 kB / 0.4963 GB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.2976, allocations: 2.632 MB / 0.4988 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2976, allocations: 0 / 0.4988 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.2983, allocations: 392.8 kB / 0.4992 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.2984, allocations: 96.77 kB / 0.4993 GB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.2984, allocations: 15.98 kB / 0.4993 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.2986, allocations: 23.98 kB / 0.4993 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.2987, allocations: 15.97 kB / 0.4994 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.2987, allocations: 8 kB / 0.4994 GB, free: 3.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.2989, allocations: 194 kB / 0.4995 GB, free: 3.691 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2989, allocations: 0 / 0.4995 GB, free: 3.691 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003881/0.2993, allocations: 76 kB / 0.4996 GB, free: 3.617 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.0001192/0.2994, allocations: 107.2 kB / 0.4997 GB, free: 3.504 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008611/0.3003, allocations: 0.4977 MB / 0.5002 GB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3003, allocations: 4.125 kB / 0.5002 GB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004665/0.3008, allocations: 349.3 kB / 0.5005 GB, free: 2.609 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.3011, allocations: 31.94 kB / 0.5006 GB, free: 2.582 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009771/0.3021, allocations: 0.7072 MB / 0.5013 GB, free: 1.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.3024, allocations: 0.783 MB / 0.502 GB, free: 1.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.254e-05/0.3025, allocations: 27.38 kB / 0.5021 GB, free: 1.004 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3025, allocations: 0 / 0.5021 GB, free: 1.004 MB / 378.7 MB Notification: Performance of Templates: time 0.1682/0.4707, allocations: 5.965 MB / 0.5079 GB, free: 96.52 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches