Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 113.6 kB / 17.69 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 192 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009589/0.0009589, allocations: 46.75 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08414/0.08511, allocations: 49.45 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.005946/0.0911, allocations: 5.072 MB / 356.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003128/0.09425, allocations: 2.09 MB / 358.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.09453, allocations: 20 kB / 358.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.09732, allocations: 1.396 MB / 360.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.09852, allocations: 0.5742 MB / 360.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.1004, allocations: 1.062 MB / 361.7 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000783/0.1012, allocations: 0.7472 MB / 362.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009023/0.1021, allocations: 0.6572 MB / 363.1 MB, free: 8.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.1024, allocations: 342.8 kB / 363.5 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004071/0.1029, allocations: 426.3 kB / 363.9 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.025e-05/0.103, allocations: 68 kB / 364 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006542/0.1036, allocations: 391.7 kB / 364.3 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.1037, allocations: 171.4 kB / 364.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002772/0.104, allocations: 386.1 kB / 364.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.1051, allocations: 1.192 MB / 366.1 MB, free: 5.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1051, allocations: 0 / 366.1 MB, free: 5.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1051, allocations: 0 / 366.1 MB, free: 5.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.1051, allocations: 0 / 366.1 MB, free: 5.07 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003912/0.109, allocations: 1.459 MB / 367.5 MB, free: 3.562 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1091, allocations: 8.031 kB / 367.5 MB, free: 3.555 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/0.1116, allocations: 387.7 kB / 367.9 MB, free: 3.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.1118, allocations: 259.8 kB / 368.2 MB, free: 2.883 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.715e-05/0.1119, allocations: 66.38 kB / 368.2 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.112, allocations: 76.38 kB / 368.3 MB, free: 2.742 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.1135, allocations: 0.8798 MB / 369.2 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.1136, allocations: 0 / 369.2 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.1136, allocations: 40 kB / 369.2 MB, free: 1.812 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.1137, allocations: 20 kB / 369.3 MB, free: 1.793 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.1153, allocations: 0.7964 MB / 370 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1454/0.2607, allocations: 2.935 MB / 373 MB, free: 23.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2619, allocations: 1.007 MB / 374 MB, free: 23.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/0.2624, allocations: 242.1 kB / 374.2 MB, free: 22.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.868e-05/0.2625, allocations: 98.61 kB / 374.3 MB, free: 22.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.2625, allocations: 40 kB / 374.4 MB, free: 22.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.354e-06/0.2625, allocations: 0 / 374.4 MB, free: 22.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.007692/0.2702, allocations: 2.423 MB / 376.8 MB, free: 21.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.2703, allocations: 84.61 kB / 376.9 MB, free: 21.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.2706, allocations: 322.2 kB / 377.2 MB, free: 21.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.2707, allocations: 36.36 kB / 377.2 MB, free: 21.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.2708, allocations: 364.6 kB / 377.6 MB, free: 21.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.2709, allocations: 213 kB / 377.8 MB, free: 21.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.2712, allocations: 151.2 kB / 377.9 MB, free: 20.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.414e-05/0.2712, allocations: 348.4 kB / 378.3 MB, free: 20.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007695/0.272, allocations: 275.7 kB / 378.5 MB, free: 20.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008466/0.2729, allocations: 0.5076 MB / 379 MB, free: 20.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.2745, allocations: 0.8084 MB / 379.9 MB, free: 19.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.2745, allocations: 3.188 kB / 379.9 MB, free: 19.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002059/0.2766, allocations: 0.9106 MB / 380.8 MB, free: 19.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.2766, allocations: 11.64 kB / 380.8 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.2766, allocations: 8.359 kB / 380.8 MB, free: 19.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.2768, allocations: 73.28 kB / 380.9 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008752/0.2777, allocations: 199.2 kB / 381.1 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.2791, allocations: 2.869 MB / 383.9 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006629/0.2797, allocations: 70.72 kB / 384 MB, free: 16.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.401e-05/0.2798, allocations: 40.47 kB / 384 MB, free: 16.32 MB / 302.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.0002436/0.2801, allocations: 218.3 kB / 384.2 MB, free: 16.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.297e-05/0.2801, allocations: 43.59 kB / 384.3 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/0.2821, allocations: 0.7505 MB / 385 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.2821, allocations: 7.031 kB / 385 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2821, allocations: 1.25 kB / 385 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.2821, allocations: 3.375 kB / 385 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.2847, allocations: 1.431 MB / 386.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2848, allocations: 3.938 kB / 386.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006803/0.2854, allocations: 132 kB / 386.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001601/0.2856, allocations: 64.73 kB / 386.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.177e-05/0.2857, allocations: 17.2 kB / 386.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.287, allocations: 2.846 MB / 389.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.287, allocations: 1.219 kB / 389.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.2894, allocations: 1.093 MB / 390.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.2896, allocations: 159.4 kB / 390.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.629e-05/0.2897, allocations: 11.47 kB / 390.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/0.2902, allocations: 51.58 kB / 390.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.2903, allocations: 58.41 kB / 390.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.2904, allocations: 20.31 kB / 390.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001895/0.2906, allocations: 220.4 kB / 391.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2906, allocations: 0 / 391.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000665/0.2912, allocations: 174.3 kB / 391.3 MB, free: 11.35 MB / 302.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.0002071/0.2915, allocations: 152.2 kB / 391.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.2933, allocations: 0.9222 MB / 392.4 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2933, allocations: 6.797 kB / 392.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008962/0.2943, allocations: 0.5495 MB / 392.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.2947, allocations: 44.31 kB / 393 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.297, allocations: 1.241 MB / 394.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.2973, allocations: 0.8867 MB / 395.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00037/0.2977, allocations: 91.47 kB / 395.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.2978, allocations: 55.45 kB / 395.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2978, allocations: 4 kB / 395.3 MB, free: 9.059 MB / 302.1 MB Notification: Performance of Templates: time 0.01025/0.3081, allocations: 6.353 MB / 401.6 MB, free: 6.062 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches