Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.562/1.562, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 51.92 kB / 373.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0966/0.09822, allocations: 53.31 MB / 426.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.1848/0.2831, allocations: 5.118 MB / 431.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003135/0.2862, allocations: 2.175 MB / 434.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.2864, allocations: 16.06 kB / 434.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00277/0.2892, allocations: 1.41 MB / 435.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008883/0.2901, allocations: 434.9 kB / 436 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.2921, allocations: 1.208 MB / 437.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007701/0.2929, allocations: 0.7487 MB / 437.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000717/0.2936, allocations: 0.5016 MB / 438.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003822/0.2939, allocations: 349.5 kB / 438.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005234/0.2945, allocations: 428.1 kB / 439.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.609e-05/0.2946, allocations: 67.31 kB / 439.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008043/0.2954, allocations: 416.9 kB / 439.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.2955, allocations: 168.8 kB / 439.8 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.2958, allocations: 380.8 kB / 440.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.2974, allocations: 1.223 MB / 441.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2974, allocations: 0 / 441.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2974, allocations: 0 / 441.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.2974, allocations: 1.938 kB / 441.4 MB, free: 4.965 MB / 350.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.004699/0.3021, allocations: 1.486 MB / 442.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3021, allocations: 9.188 kB / 442.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/0.305, allocations: 368.7 kB / 443.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.3052, allocations: 260.2 kB / 443.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/0.3052, allocations: 68.64 kB / 443.6 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.3054, allocations: 82.44 kB / 443.7 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.307, allocations: 0.8771 MB / 444.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/0.307, allocations: 5.453 kB / 444.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-05/0.3071, allocations: 30.62 kB / 444.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.3071, allocations: 21.12 kB / 444.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.3089, allocations: 0.7944 MB / 445.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004047/0.313, allocations: 3.017 MB / 448.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.3142, allocations: 0.9633 MB / 449.4 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005222/0.3147, allocations: 215.8 kB / 449.6 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/0.3149, allocations: 187.7 kB / 449.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.3149, allocations: 37.81 kB / 449.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.184e-06/0.3149, allocations: 1.125 kB / 449.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.008075/0.323, allocations: 2.394 MB / 452.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.323, allocations: 88.77 kB / 452.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.3234, allocations: 316.7 kB / 452.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.3235, allocations: 35.3 kB / 452.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.3238, allocations: 375.5 kB / 453 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.324, allocations: 224.2 kB / 453.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/0.3242, allocations: 141.2 kB / 453.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3244, allocations: 356.2 kB / 453.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008224/0.3252, allocations: 270.6 kB / 454 MB, free: 13.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009915/0.3262, allocations: 0.5082 MB / 454.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.328, allocations: 0.81 MB / 455.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.328, allocations: 2.875 kB / 455.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002273/0.3303, allocations: 0.8963 MB / 456.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.3303, allocations: 13.44 kB / 456.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.3303, allocations: 7.844 kB / 456.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/0.3306, allocations: 70.52 kB / 456.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009089/0.3315, allocations: 201.7 kB / 456.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.334, allocations: 2.865 MB / 459.3 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007287/0.3347, allocations: 68.11 kB / 459.4 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.982e-05/0.3348, allocations: 35.36 kB / 459.4 MB, free: 9.312 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.0003306/0.3351, allocations: 217.8 kB / 459.6 MB, free: 9.125 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.3352, allocations: 48.5 kB / 459.7 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/0.3374, allocations: 0.7339 MB / 460.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.3374, allocations: 5.938 kB / 460.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3374, allocations: 0 / 460.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.3374, allocations: 7.922 kB / 460.4 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.3404, allocations: 1.414 MB / 461.9 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3404, allocations: 0 / 461.9 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007095/0.3411, allocations: 130.2 kB / 462 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002031/0.3413, allocations: 63.97 kB / 462 MB, free: 7.684 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.3414, allocations: 12.28 kB / 462.1 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002379/0.3437, allocations: 2.852 MB / 464.9 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3438, allocations: 3.984 kB / 464.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/0.3466, allocations: 1.081 MB / 466 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.3469, allocations: 162.6 kB / 466.1 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.347, allocations: 11.41 kB / 466.2 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005562/0.3475, allocations: 46.97 kB / 466.2 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.3476, allocations: 49.38 kB / 466.3 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.3477, allocations: 20.61 kB / 466.3 MB, free: 3.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002668/0.348, allocations: 217.2 kB / 466.5 MB, free: 3.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.348, allocations: 0 / 466.5 MB, free: 3.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008329/0.3488, allocations: 183 kB / 466.7 MB, free: 3.711 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.0003215/0.3491, allocations: 168.5 kB / 466.8 MB, free: 3.586 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002246/0.3514, allocations: 0.8748 MB / 467.7 MB, free: 3.059 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3514, allocations: 1.188 kB / 467.7 MB, free: 3.059 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.3525, allocations: 0.5286 MB / 468.2 MB, free: 2.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.353, allocations: 46.41 kB / 468.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.356, allocations: 1.215 MB / 469.5 MB, free: 1.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/0.3566, allocations: 0.8836 MB / 470.4 MB, free: 1.121 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000399/0.357, allocations: 92.77 kB / 470.5 MB, free: 1.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.3572, allocations: 48.2 kB / 470.5 MB, free: 1.059 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3572, allocations: 0 / 470.5 MB, free: 1.059 MB / 366.1 MB Notification: Performance of Templates: time 0.01532/0.3725, allocations: 6.671 MB / 477.2 MB, free: 12.89 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.862279653549194]