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.001949/0.001949, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.00227/0.00227, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.00161/0.00161, allocations: 55.91 kB / 378.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2175, allocations: 53.36 MB / 431.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.0072/0.2247, allocations: 5.13 MB / 436.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004261/0.229, allocations: 2.203 MB / 439 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.2293, allocations: 16 kB / 439 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003297/0.2326, allocations: 1.417 MB / 440.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.2336, allocations: 421.3 kB / 440.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.236, allocations: 1.22 MB / 442 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00094/0.237, allocations: 0.7433 MB / 442.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009274/0.2379, allocations: 0.5769 MB / 443.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004677/0.2384, allocations: 342.8 kB / 443.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005467/0.2389, allocations: 434.3 kB / 444.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.611e-05/0.239, allocations: 68 kB / 444.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007754/0.2398, allocations: 411.6 kB / 444.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.2399, allocations: 167.4 kB / 444.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.2403, allocations: 390.1 kB / 445.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.2418, allocations: 1.222 MB / 446.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2419, allocations: 0 / 446.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2419, allocations: 0 / 446.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.2419, allocations: 0 / 446.4 MB, free: 8.152 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.004594/0.2465, allocations: 1.417 MB / 447.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.2465, allocations: 12.03 kB / 447.8 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002709/0.2492, allocations: 360.1 kB / 448.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.2495, allocations: 201.6 kB / 448.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.779e-05/0.2495, allocations: 70.31 kB / 448.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.2497, allocations: 76.38 kB / 448.5 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.2516, allocations: 0.8835 MB / 449.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.2516, allocations: 3.953 kB / 449.4 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.142e-05/0.2517, allocations: 36 kB / 449.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.2517, allocations: 20 kB / 449.4 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.2536, allocations: 0.7925 MB / 450.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005608/0.2592, allocations: 2.771 MB / 453 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.2609, allocations: 0.5191 MB / 453.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007472/0.2616, allocations: 214.2 kB / 453.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.2617, allocations: 28.45 kB / 453.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/0.2618, allocations: 39.06 kB / 453.8 MB, free: 484 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 6.021e-06/0.2618, allocations: 4 kB / 453.8 MB, free: 480 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01065/0.2724, allocations: 2.167 MB / 455.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.2725, allocations: 81.61 kB / 456 MB, free: 14.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005656/0.2731, allocations: 328.3 kB / 456.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.956e-05/0.2732, allocations: 37.7 kB / 456.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/0.2735, allocations: 363.9 kB / 456.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/0.2738, allocations: 226 kB / 457 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003519/0.2741, allocations: 150.6 kB / 457.1 MB, free: 13.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.2744, allocations: 350.7 kB / 457.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.2755, allocations: 269.8 kB / 457.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.277, allocations: 0.5043 MB / 458.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.2795, allocations: 0.8127 MB / 459 MB, free: 10.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2795, allocations: 0 / 459 MB, free: 10.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003281/0.2828, allocations: 0.905 MB / 459.9 MB, free: 10 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.2828, allocations: 11.94 kB / 459.9 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.2828, allocations: 8 kB / 460 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003624/0.2832, allocations: 69.67 kB / 460 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.2846, allocations: 199.7 kB / 460.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/0.2878, allocations: 2.669 MB / 462.9 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.2889, allocations: 60.02 kB / 462.9 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/0.289, allocations: 39.98 kB / 463 MB, free: 6.711 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.0004602/0.2894, allocations: 213.6 kB / 463.2 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.2896, allocations: 47.66 kB / 463.2 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/0.2924, allocations: 0.7182 MB / 464 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.2924, allocations: 12 kB / 464 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2924, allocations: 0 / 464 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.2924, allocations: 7.922 kB / 464 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003228/0.2957, allocations: 1.383 MB / 465.4 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/0.2957, allocations: 4 kB / 465.4 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006966/0.2964, allocations: 135.8 kB / 465.5 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/0.2966, allocations: 57.61 kB / 465.6 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.2966, allocations: 19.98 kB / 465.6 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.2989, allocations: 2.638 MB / 468.2 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2989, allocations: 0 / 468.2 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.3015, allocations: 1.089 MB / 469.3 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.3018, allocations: 91.86 kB / 469.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.975e-05/0.3018, allocations: 12 kB / 469.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005144/0.3024, allocations: 47.94 kB / 469.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.3025, allocations: 48.41 kB / 469.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.254e-05/0.3025, allocations: 19.98 kB / 469.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002577/0.3028, allocations: 223.1 kB / 469.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3028, allocations: 0 / 469.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007183/0.3035, allocations: 176 kB / 469.9 MB, free: 15.46 MB / 382.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.000306/0.3038, allocations: 167 kB / 470.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.3059, allocations: 0.8769 MB / 470.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3059, allocations: 0 / 470.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.3072, allocations: 0.5312 MB / 471.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.3077, allocations: 45.03 kB / 471.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.3107, allocations: 1.206 MB / 472.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/0.3112, allocations: 0.881 MB / 473.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003763/0.3116, allocations: 88.52 kB / 473.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.3118, allocations: 47.42 kB / 473.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3118, allocations: 0 / 473.7 MB, free: 11.5 MB / 382.1 MB Notification: Performance of Templates: time 0.01449/0.3263, allocations: 7.049 MB / 480.8 MB, free: 4.508 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.810646082973108]