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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009568/0.000957, allocations: 96.11 kB / 18 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001116, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002205/0.0002206, allocations: 4 kB / 308.4 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08675/0.08699, allocations: 51.54 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.002945/0.08997, allocations: 2.509 MB / 362.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.09138, allocations: 0.7712 MB / 363.2 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.09159, allocations: 15.94 kB / 363.2 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.0918, allocations: 55.62 kB / 363.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.09211, allocations: 79.42 kB / 363.4 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.09239, allocations: 91.86 kB / 363.4 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.09278, allocations: 386.5 kB / 363.8 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.09299, allocations: 103.6 kB / 363.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.09327, allocations: 135.4 kB / 364.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.09349, allocations: 159.2 kB / 364.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.09355, allocations: 24 kB / 364.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.426e-05/0.0936, allocations: 20 kB / 364.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.09365, allocations: 59.7 kB / 364.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.09381, allocations: 188.8 kB / 364.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.09406, allocations: 291.4 kB / 364.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.09407, allocations: 0 / 364.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09408, allocations: 0 / 364.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.09409, allocations: 0 / 364.8 MB, free: 8.387 MB / 302.1 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.001118/0.09521, allocations: 0.616 MB / 365.4 MB, free: 7.723 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.09526, allocations: 8.031 kB / 365.4 MB, free: 7.715 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.826e-05/0.09535, allocations: 44.41 kB / 365.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.09567, allocations: 279.4 kB / 365.7 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.09571, allocations: 25.03 kB / 365.7 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.09577, allocations: 32.38 kB / 365.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006073/0.09638, allocations: 306.3 kB / 366.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.0964, allocations: 0 / 366.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.09644, allocations: 12 kB / 366.1 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.09646, allocations: 8 kB / 366.1 MB, free: 6.984 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000635/0.0971, allocations: 278.4 kB / 366.4 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.09881, allocations: 1.12 MB / 367.5 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.0992, allocations: 158.4 kB / 367.6 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.0994, allocations: 80.81 kB / 367.7 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.09944, allocations: 3.984 kB / 367.7 MB, free: 5.238 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.09947, allocations: 34.56 kB / 367.8 MB, free: 5.195 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.09948, allocations: 0 / 367.8 MB, free: 5.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002127/0.1016, allocations: 0.6723 MB / 368.4 MB, free: 4.512 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.1017, allocations: 51.41 kB / 368.5 MB, free: 4.449 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.1019, allocations: 286.9 kB / 368.8 MB, free: 4.156 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.102, allocations: 33.7 kB / 368.8 MB, free: 4.117 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.1021, allocations: 231.4 kB / 369 MB, free: 3.883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.1022, allocations: 78.94 kB / 369.1 MB, free: 3.805 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.494e-05/0.1022, allocations: 29.7 kB / 369.1 MB, free: 3.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1024, allocations: 338.8 kB / 369.5 MB, free: 3.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.1027, allocations: 111.9 kB / 369.6 MB, free: 3.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.103, allocations: 204 kB / 369.8 MB, free: 3.074 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006451/0.1037, allocations: 323 kB / 370.1 MB, free: 2.719 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.1037, allocations: 0 / 370.1 MB, free: 2.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009016/0.1046, allocations: 425.2 kB / 370.5 MB, free: 2.293 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1046, allocations: 8 kB / 370.5 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1046, allocations: 3.938 kB / 370.5 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000249/0.1049, allocations: 65.61 kB / 370.6 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.1052, allocations: 79.89 kB / 370.7 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1733/0.2786, allocations: 2.631 MB / 373.3 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.279, allocations: 31.27 kB / 373.3 MB, free: 17.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.2791, allocations: 14.88 kB / 373.3 MB, free: 17.89 MB / 302.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.2793, allocations: 148.7 kB / 373.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.2794, allocations: 25.45 kB / 373.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.491e-05/0.2795, allocations: 31.62 kB / 373.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.2795, allocations: 6.141 kB / 373.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.2795, allocations: 1.625 kB / 373.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.2795, allocations: 1.359 kB / 373.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005392/0.2801, allocations: 340.2 kB / 373.9 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.2801, allocations: 0.75 kB / 373.9 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.2803, allocations: 45.59 kB / 373.9 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002198/0.2806, allocations: 55.27 kB / 374 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.2806, allocations: 9.125 kB / 374 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.2821, allocations: 2.635 MB / 376.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2821, allocations: 1.062 kB / 376.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008152/0.283, allocations: 396.2 kB / 377 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.2831, allocations: 100.8 kB / 377.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.2831, allocations: 6.859 kB / 377.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.2833, allocations: 21.53 kB / 377.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.524e-05/0.2834, allocations: 16.16 kB / 377.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.2835, allocations: 15.77 kB / 377.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002513/0.2837, allocations: 197.9 kB / 377.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2837, allocations: 0 / 377.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004851/0.2842, allocations: 73.84 kB / 377.4 MB, free: 14.76 MB / 302.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001309/0.2844, allocations: 106.3 kB / 377.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.2854, allocations: 0.4993 MB / 378 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2854, allocations: 2.062 kB / 378 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005167/0.2859, allocations: 359.9 kB / 378.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.2864, allocations: 33.66 kB / 378.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.2877, allocations: 0.7449 MB / 379.2 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.288, allocations: 0.7832 MB / 379.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-05/0.2881, allocations: 25.8 kB / 380 MB, free: 13.05 MB / 302.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2881, allocations: 0 / 380 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Templates: time 0.01115/0.2993, allocations: 6.044 MB / 386 MB, free: 11.99 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches