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/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.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/ModelicaServices trunk/package.mo): time 0.001255/0.001255, allocations: 113.8 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001588/0.001588, allocations: 210.7 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.88 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2563, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006363/0.2627, allocations: 5.087 MB / 415 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003725/0.2664, allocations: 2.152 MB / 417.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003621/0.2668, allocations: 16 kB / 417.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003069/0.2699, allocations: 1.4 MB / 418.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.2711, allocations: 421.4 kB / 419 MB, free: 8.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.2735, allocations: 1.211 MB / 420.2 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001037/0.2745, allocations: 0.7394 MB / 421 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.2756, allocations: 0.6609 MB / 421.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004665/0.2761, allocations: 334.8 kB / 421.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004947/0.2766, allocations: 438.3 kB / 422.4 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.358e-05/0.2767, allocations: 68 kB / 422.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009534/0.2776, allocations: 415.6 kB / 422.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.2778, allocations: 163.4 kB / 423 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.2781, allocations: 378.1 kB / 423.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.2794, allocations: 1.216 MB / 424.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2794, allocations: 8 kB / 424.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2795, allocations: 0 / 424.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.2795, allocations: 0 / 424.6 MB, free: 2.871 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.004381/0.2839, allocations: 1.455 MB / 426.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2839, allocations: 8.031 kB / 426.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00264/0.2866, allocations: 387.6 kB / 426.4 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.2868, allocations: 267.2 kB / 426.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.2869, allocations: 62.38 kB / 426.8 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.287, allocations: 84.38 kB / 426.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.2888, allocations: 0.8796 MB / 427.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.2888, allocations: 7.984 kB / 427.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.732e-05/0.2889, allocations: 28 kB / 427.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.2889, allocations: 24 kB / 427.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.2907, allocations: 0.7964 MB / 428.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004378/0.2951, allocations: 3.013 MB / 431.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.2964, allocations: 0.9962 MB / 432.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005214/0.2969, allocations: 246.4 kB / 432.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.2971, allocations: 174.8 kB / 433 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.2971, allocations: 39.12 kB / 433 MB, free: 9.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.645e-06/0.2971, allocations: 0 / 433 MB, free: 9.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007479/0.3046, allocations: 2.404 MB / 435.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.3047, allocations: 85.67 kB / 435.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.3051, allocations: 316.4 kB / 435.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.3051, allocations: 33.7 kB / 435.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.3053, allocations: 366.5 kB / 436.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.3055, allocations: 209 kB / 436.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.3058, allocations: 150.4 kB / 436.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3059, allocations: 354.7 kB / 436.9 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000769/0.3067, allocations: 269.8 kB / 437.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009492/0.3077, allocations: 0.512 MB / 437.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.3094, allocations: 0.8037 MB / 438.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3094, allocations: 0 / 438.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002097/0.3115, allocations: 0.8943 MB / 439.4 MB, free: 3.215 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/0.3115, allocations: 11.94 kB / 439.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.3115, allocations: 8.531 kB / 439.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002552/0.3118, allocations: 77.66 kB / 439.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008523/0.3127, allocations: 203.7 kB / 439.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.3148, allocations: 2.86 MB / 442.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006682/0.3155, allocations: 60.08 kB / 442.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.3156, allocations: 43.97 kB / 442.6 MB, free: 15.68 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.0003374/0.3159, allocations: 213.5 kB / 442.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.316, allocations: 47.47 kB / 442.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/0.3179, allocations: 0.739 MB / 443.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3179, allocations: 12 kB / 443.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.318, allocations: 4 kB / 443.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.318, allocations: 3.938 kB / 443.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/0.3206, allocations: 1.413 MB / 445.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.3207, allocations: 0 / 445.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006643/0.3213, allocations: 135.8 kB / 445.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001764/0.3215, allocations: 57.67 kB / 445.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.3216, allocations: 15.98 kB / 445.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.3235, allocations: 2.849 MB / 448.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3236, allocations: 0 / 448.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.326, allocations: 1.087 MB / 449.2 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.3263, allocations: 160.6 kB / 449.4 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/0.3263, allocations: 12 kB / 449.4 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005071/0.3269, allocations: 47.94 kB / 449.4 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.327, allocations: 44.5 kB / 449.5 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.327, allocations: 16 kB / 449.5 MB, free: 8.418 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002514/0.3273, allocations: 227.1 kB / 449.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3273, allocations: 0 / 449.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007193/0.328, allocations: 176 kB / 449.9 MB, free: 8.023 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.0002785/0.3283, allocations: 171 kB / 450.1 MB, free: 7.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.3303, allocations: 0.9124 MB / 451 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3303, allocations: 0 / 451 MB, free: 6.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009757/0.3313, allocations: 0.5473 MB / 451.5 MB, free: 6.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.3318, allocations: 56.95 kB / 451.6 MB, free: 6.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.3343, allocations: 1.26 MB / 452.8 MB, free: 4.984 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.3348, allocations: 0.881 MB / 453.7 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.335, allocations: 55.41 kB / 453.8 MB, free: 4.027 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.335, allocations: 4 kB / 453.8 MB, free: 4.023 MB / 366.1 MB Notification: Performance of Templates: time 0.01555/0.3506, allocations: 13.25 MB / 467 MB, free: 6.785 MB / 382.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches