Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00145/0.00145, allocations: 117.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001596/0.001596, allocations: 216.7 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.405/1.405, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 67.88 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2141, allocations: 50.55 MB / 410.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006415/0.2205, allocations: 5.094 MB / 415.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003223/0.2238, allocations: 2.152 MB / 417.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.2239, allocations: 16 kB / 417.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00292/0.2269, allocations: 1.408 MB / 418.9 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008444/0.2277, allocations: 421.4 kB / 419.3 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002172/0.2299, allocations: 1.21 MB / 420.5 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008214/0.2307, allocations: 0.7504 MB / 421.3 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007717/0.2315, allocations: 0.5012 MB / 421.8 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.2319, allocations: 326.8 kB / 422.1 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004761/0.2323, allocations: 438.3 kB / 422.5 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.967e-05/0.2324, allocations: 68 kB / 422.6 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006722/0.2331, allocations: 423.6 kB / 423 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.2332, allocations: 167.4 kB / 423.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003436/0.2336, allocations: 382.1 kB / 423.5 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.2349, allocations: 1.214 MB / 424.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2349, allocations: 0 / 424.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2349, allocations: 0 / 424.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.2349, allocations: 0 / 424.7 MB, free: 2.848 MB / 334.1 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.004391/0.2393, allocations: 1.489 MB / 426.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2394, allocations: 12.03 kB / 426.2 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002691/0.2421, allocations: 384.1 kB / 426.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.2423, allocations: 271.4 kB / 426.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/0.2424, allocations: 62.31 kB / 426.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.2425, allocations: 88.38 kB / 427 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.2442, allocations: 0.8719 MB / 427.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.2442, allocations: 3.953 kB / 427.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/0.2443, allocations: 36 kB / 427.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.2443, allocations: 23.98 kB / 428 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.2461, allocations: 0.8003 MB / 428.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004531/0.2506, allocations: 3.022 MB / 431.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.252, allocations: 0.9612 MB / 432.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/0.2525, allocations: 218.4 kB / 433 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.2526, allocations: 174.8 kB / 433.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.2527, allocations: 43.12 kB / 433.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 1.933e-06/0.2527, allocations: 0 / 433.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007319/0.26, allocations: 2.409 MB / 435.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.26, allocations: 85.67 kB / 435.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.2604, allocations: 324.3 kB / 436 MB, free: 7.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.2605, allocations: 33.7 kB / 436 MB, free: 6.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.2607, allocations: 367.9 kB / 436.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.2609, allocations: 222.1 kB / 436.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.2612, allocations: 142.6 kB / 436.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.2613, allocations: 350.7 kB / 437.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007638/0.2621, allocations: 281.8 kB / 437.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009396/0.263, allocations: 0.5004 MB / 437.9 MB, free: 5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.2647, allocations: 0.8075 MB / 438.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2647, allocations: 4 kB / 438.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002109/0.2669, allocations: 0.8987 MB / 439.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.2669, allocations: 11.94 kB / 439.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.2669, allocations: 8 kB / 439.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/0.2671, allocations: 77.89 kB / 439.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008681/0.268, allocations: 199.6 kB / 439.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.2704, allocations: 2.864 MB / 442.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006482/0.271, allocations: 71.95 kB / 442.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.494e-05/0.2711, allocations: 32 kB / 442.8 MB, free: 15.64 MB / 366.1 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.0003187/0.2714, allocations: 225.5 kB / 443 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.2715, allocations: 43.7 kB / 443.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.2735, allocations: 0.7314 MB / 443.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.2735, allocations: 4 kB / 443.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2735, allocations: 4 kB / 443.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.2735, allocations: 11.92 kB / 443.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.2763, allocations: 1.405 MB / 445.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.2763, allocations: 0 / 445.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006792/0.277, allocations: 131.8 kB / 445.4 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002051/0.2772, allocations: 61.67 kB / 445.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.2773, allocations: 12 kB / 445.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/0.2797, allocations: 2.853 MB / 448.3 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2797, allocations: 0 / 448.3 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.2823, allocations: 1.087 MB / 449.4 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.2826, allocations: 165 kB / 449.5 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.2827, allocations: 12.06 kB / 449.6 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005015/0.2832, allocations: 51.89 kB / 449.6 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.2833, allocations: 52.42 kB / 449.7 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.785e-05/0.2834, allocations: 19.98 kB / 449.7 MB, free: 8.367 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002713/0.2836, allocations: 219.1 kB / 449.9 MB, free: 8.152 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2836, allocations: 0 / 449.9 MB, free: 8.152 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007584/0.2844, allocations: 179.9 kB / 450.1 MB, free: 7.977 MB / 366.1 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.0003187/0.2847, allocations: 166.5 kB / 450.2 MB, free: 7.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002107/0.2868, allocations: 0.8801 MB / 451.1 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.2868, allocations: 5.125 kB / 451.1 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.2879, allocations: 0.5199 MB / 451.6 MB, free: 6.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.2884, allocations: 49.03 kB / 451.7 MB, free: 6.301 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.2912, allocations: 1.261 MB / 452.9 MB, free: 5.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.2917, allocations: 0.8849 MB / 453.8 MB, free: 4.105 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003898/0.2921, allocations: 80.53 kB / 453.9 MB, free: 4.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.2923, allocations: 55.34 kB / 454 MB, free: 3.969 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2923, allocations: 0 / 454 MB, free: 3.969 MB / 366.1 MB Notification: Performance of Templates: time 0.01399/0.3063, allocations: 6.575 MB / 460.5 MB, free: 13.45 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches