Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00182/0.00182, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 105.8 kB / 296.7 MB, free: 6.445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008962/0.0008962, allocations: 43.92 kB / 356.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1875, allocations: 50.45 MB / 407.1 MB, free: 27.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004427/0.1919, allocations: 5.073 MB / 412.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.1943, allocations: 2.147 MB / 414.3 MB, free: 20.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.1945, allocations: 16 kB / 414.3 MB, free: 20.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.1966, allocations: 1.313 MB / 415.6 MB, free: 19.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006542/0.1972, allocations: 378.1 kB / 416 MB, free: 18.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.1989, allocations: 1.194 MB / 417.2 MB, free: 17.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004919/0.1994, allocations: 0.72 MB / 417.9 MB, free: 16.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006705/0.2001, allocations: 0.5909 MB / 418.5 MB, free: 16.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.2004, allocations: 326.8 kB / 418.8 MB, free: 16.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.2007, allocations: 422.3 kB / 419.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.58e-05/0.2007, allocations: 55.98 kB / 419.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005262/0.2013, allocations: 387.6 kB / 419.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.542e-05/0.2013, allocations: 151.4 kB / 419.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.2016, allocations: 374.1 kB / 420.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000776/0.2023, allocations: 1.184 MB / 421.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2023, allocations: 0 / 421.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.2024, allocations: 0 / 421.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.2024, allocations: 4 kB / 421.3 MB, free: 13.45 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003587/0.206, allocations: 1.467 MB / 422.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.206, allocations: 16.03 kB / 422.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/0.2083, allocations: 375.7 kB / 423.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.2085, allocations: 275.1 kB / 423.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.2085, allocations: 58.38 kB / 423.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-05/0.2086, allocations: 84.38 kB / 423.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.21, allocations: 0.8798 MB / 424.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.21, allocations: 3.984 kB / 424.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.2101, allocations: 36 kB / 424.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.2101, allocations: 20 kB / 424.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.2116, allocations: 0.8003 MB / 425.3 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.215, allocations: 3.048 MB / 428.4 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009462/0.2159, allocations: 1.003 MB / 429.4 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.2164, allocations: 242.4 kB / 429.6 MB, free: 4.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.2165, allocations: 174.8 kB / 429.8 MB, free: 4.523 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.2165, allocations: 39.12 kB / 429.8 MB, free: 4.477 MB / 298.7 MB Notification: Performance of pre-optimization done (n=58): time 2.254e-06/0.2165, allocations: 0 / 429.8 MB, free: 4.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.007113/0.2237, allocations: 2.427 MB / 432.3 MB, free: 1.953 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.2237, allocations: 85.67 kB / 432.3 MB, free: 1.852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.224, allocations: 316.4 kB / 432.7 MB, free: 1.539 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.224, allocations: 33.7 kB / 432.7 MB, free: 1.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.2241, allocations: 370.6 kB / 433.1 MB, free: 1.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.799e-05/0.2243, allocations: 205 kB / 433.3 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.2244, allocations: 158.4 kB / 433.4 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.824e-05/0.2245, allocations: 350.7 kB / 433.8 MB, free: 424 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006977/0.2252, allocations: 277.8 kB / 434 MB, free: 144 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008891/0.2261, allocations: 0.5048 MB / 434.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.2278, allocations: 0.8115 MB / 435.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.2278, allocations: 8 kB / 435.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002011/0.2298, allocations: 0.9026 MB / 436.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2298, allocations: 8 kB / 436.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.2299, allocations: 11.94 kB / 436.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.2301, allocations: 73.61 kB / 436.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/0.2309, allocations: 203.7 kB / 436.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.2326, allocations: 2.659 MB / 439.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006328/0.2332, allocations: 64.08 kB / 439.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.068e-05/0.2333, allocations: 39.92 kB / 439.3 MB, free: 10.37 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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.0002514/0.2336, allocations: 227 kB / 439.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.2337, allocations: 39.53 kB / 439.6 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.2356, allocations: 0.7546 MB / 440.3 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.2356, allocations: 8 kB / 440.3 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2356, allocations: 0 / 440.3 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2356, allocations: 0 / 440.3 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/0.2382, allocations: 1.438 MB / 441.8 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.2382, allocations: 0 / 441.8 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006554/0.2389, allocations: 135.8 kB / 441.9 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001629/0.2391, allocations: 65.67 kB / 442 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.2391, allocations: 19.98 kB / 442 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.2406, allocations: 2.643 MB / 444.6 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2407, allocations: 240 / 444.6 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003918/0.2446, allocations: 2.379 MB / 447 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.2448, allocations: 168.5 kB / 447.2 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/0.2449, allocations: 12 kB / 447.2 MB, free: 1.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005049/0.2454, allocations: 43.95 kB / 447.2 MB, free: 1.934 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.2455, allocations: 44.48 kB / 447.3 MB, free: 1.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.2455, allocations: 23.98 kB / 447.3 MB, free: 1.867 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001999/0.2457, allocations: 227.1 kB / 447.5 MB, free: 1.648 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2458, allocations: 0 / 447.5 MB, free: 1.648 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007067/0.2465, allocations: 196 kB / 447.7 MB, free: 1.457 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (58): * Single equations (assignments): 56 * 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.000241/0.2467, allocations: 165.6 kB / 447.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001941/0.2487, allocations: 0.9163 MB / 448.8 MB, free: 352 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2487, allocations: 0 / 448.8 MB, free: 352 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009918/0.2497, allocations: 0.5589 MB / 449.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.2501, allocations: 50.09 kB / 449.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.2529, allocations: 1.883 MB / 451.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.2533, allocations: 0.8927 MB / 452.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000496/0.2538, allocations: 96.52 kB / 452.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.254, allocations: 55.41 kB / 452.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of SimCode: time 3.4e-07/0.254, allocations: 0 / 452.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of Templates: time 0.0104/0.2644, allocations: 6.351 MB / 458.7 MB, free: 6.41 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches