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.001071/0.001071, allocations: 101.3 kB / 17.06 MB, free: 6.117 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.001128/0.001128, allocations: 200.1 kB / 18 MB, free: 5.195 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.363/1.363, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 51.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2842, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006459/0.2907, allocations: 5.075 MB / 405.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003773/0.2945, allocations: 2.102 MB / 407.9 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002925/0.2948, allocations: 19.94 kB / 407.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003077/0.2979, allocations: 1.396 MB / 409.3 MB, free: 268 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.2991, allocations: 0.5728 MB / 409.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.301, allocations: 1.062 MB / 411 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008193/0.3019, allocations: 0.7472 MB / 411.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009331/0.3028, allocations: 0.6507 MB / 412.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004135/0.3032, allocations: 342.8 kB / 412.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004407/0.3037, allocations: 426.3 kB / 413.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.3038, allocations: 68 kB / 413.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007419/0.3045, allocations: 403.5 kB / 413.6 MB, free: 12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.3047, allocations: 159.4 kB / 413.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003672/0.305, allocations: 386.1 kB / 414.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.3063, allocations: 1.199 MB / 415.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3063, allocations: 7.938 kB / 415.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3063, allocations: 0 / 415.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3064, allocations: 0 / 415.3 MB, free: 10.26 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.004171/0.3105, allocations: 1.444 MB / 416.8 MB, free: 8.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3106, allocations: 11.97 kB / 416.8 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002572/0.3132, allocations: 387.6 kB / 417.1 MB, free: 8.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.3135, allocations: 255.8 kB / 417.4 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/0.3135, allocations: 66.38 kB / 417.5 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.3136, allocations: 84.28 kB / 417.5 MB, free: 7.938 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.3153, allocations: 0.8874 MB / 418.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.3153, allocations: 0 / 418.4 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-05/0.3154, allocations: 36 kB / 418.5 MB, free: 7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.3154, allocations: 20 kB / 418.5 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.3172, allocations: 0.8003 MB / 419.3 MB, free: 6.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004147/0.3213, allocations: 2.938 MB / 422.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.3226, allocations: 1.007 MB / 423.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005448/0.3232, allocations: 246.3 kB / 423.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.3233, allocations: 93.67 kB / 423.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.3233, allocations: 39.12 kB / 423.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 1.834e-06/0.3233, allocations: 0 / 423.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.00794/0.3313, allocations: 2.427 MB / 426 MB, free: 15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.3314, allocations: 89.61 kB / 426.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.3317, allocations: 316.4 kB / 426.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.3318, allocations: 37.7 kB / 426.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.332, allocations: 362.6 kB / 426.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.3321, allocations: 212.9 kB / 427 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.3324, allocations: 150.5 kB / 427.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3325, allocations: 350.7 kB / 427.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008347/0.3334, allocations: 277.8 kB / 427.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.3344, allocations: 0.5042 MB / 428.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/0.3362, allocations: 0.8076 MB / 429.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.3362, allocations: 4 kB / 429.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002156/0.3383, allocations: 0.9104 MB / 430 MB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.3384, allocations: 11.94 kB / 430 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.3384, allocations: 8 kB / 430 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002445/0.3386, allocations: 73.67 kB / 430.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008887/0.3395, allocations: 199.7 kB / 430.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.3417, allocations: 2.864 MB / 433.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006589/0.3423, allocations: 59.86 kB / 433.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.838e-05/0.3424, allocations: 43.98 kB / 433.3 MB, free: 7.199 MB / 350.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.0003024/0.3427, allocations: 229.6 kB / 433.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/0.3428, allocations: 43.47 kB / 433.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.3448, allocations: 0.7467 MB / 434.3 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3448, allocations: 4 kB / 434.3 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3449, allocations: 3.984 kB / 434.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3449, allocations: 7.938 kB / 434.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002754/0.3476, allocations: 1.421 MB / 435.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3476, allocations: 0 / 435.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000693/0.3483, allocations: 139.8 kB / 435.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001812/0.3485, allocations: 61.67 kB / 435.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.3486, allocations: 15.98 kB / 435.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.3506, allocations: 2.841 MB / 438.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3506, allocations: 3.938 kB / 438.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.3533, allocations: 1.094 MB / 439.9 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.3535, allocations: 168.5 kB / 440 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.173e-05/0.3536, allocations: 12 kB / 440 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/0.3542, allocations: 56 kB / 440.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.3543, allocations: 44.5 kB / 440.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.3543, allocations: 19.98 kB / 440.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002163/0.3546, allocations: 219.1 kB / 440.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3546, allocations: 0 / 440.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006864/0.3553, allocations: 176 kB / 440.5 MB, free: 15.5 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.000263/0.3555, allocations: 165.6 kB / 440.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002178/0.3577, allocations: 0.9239 MB / 441.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3577, allocations: 0 / 441.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.3588, allocations: 0.5513 MB / 442.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.3593, allocations: 45.03 kB / 442.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.3624, allocations: 1.247 MB / 443.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.363, allocations: 0.8848 MB / 444.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004123/0.3634, allocations: 92.61 kB / 444.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.3636, allocations: 47.41 kB / 444.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3636, allocations: 0 / 444.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of Templates: time 0.01352/0.3771, allocations: 6.49 MB / 451 MB, free: 4.996 MB / 366.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/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