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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] 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=500,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=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003006/0.003006, allocations: 67.88 kB / 378.8 MB, free: 2.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2632, allocations: 53.37 MB / 432.2 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00689/0.2701, allocations: 5.138 MB / 437.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003916/0.274, allocations: 2.187 MB / 439.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003066/0.2744, allocations: 16 kB / 439.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003302/0.2777, allocations: 1.419 MB / 440.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.2788, allocations: 425.4 kB / 441.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002401/0.2812, allocations: 1.229 MB / 442.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009918/0.2822, allocations: 0.7355 MB / 443.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008526/0.283, allocations: 0.5152 MB / 443.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004555/0.2835, allocations: 338.8 kB / 444.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005091/0.284, allocations: 438.3 kB / 444.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.883e-05/0.2841, allocations: 72 kB / 444.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008669/0.285, allocations: 411.7 kB / 445.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.2851, allocations: 171.3 kB / 445.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003698/0.2855, allocations: 382.1 kB / 445.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.2871, allocations: 1.214 MB / 446.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2871, allocations: 0 / 446.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2871, allocations: 0 / 446.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.2871, allocations: 0 / 446.8 MB, free: 8.371 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.004746/0.2918, allocations: 1.425 MB / 448.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2919, allocations: 8.031 kB / 448.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/0.2946, allocations: 364.1 kB / 448.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.2949, allocations: 201.6 kB / 448.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/0.295, allocations: 66.38 kB / 448.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.2951, allocations: 84.38 kB / 448.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.297, allocations: 0.8718 MB / 449.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.297, allocations: 7.953 kB / 449.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-05/0.2971, allocations: 28 kB / 449.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.2971, allocations: 20 kB / 449.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.2992, allocations: 0.8003 MB / 450.7 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004803/0.304, allocations: 2.775 MB / 453.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.3051, allocations: 0.5128 MB / 454 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005629/0.3057, allocations: 210.3 kB / 454.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.792e-05/0.3058, allocations: 32.45 kB / 454.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.3058, allocations: 47 kB / 454.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.334e-06/0.3058, allocations: 0 / 454.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.008056/0.3139, allocations: 2.163 MB / 456.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/0.3139, allocations: 89.55 kB / 456.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.3144, allocations: 320.3 kB / 456.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.3144, allocations: 33.7 kB / 456.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.3147, allocations: 379.9 kB / 457.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.3149, allocations: 218.1 kB / 457.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/0.3152, allocations: 146.6 kB / 457.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3153, allocations: 354.7 kB / 457.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007996/0.3161, allocations: 265.8 kB / 458.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.3172, allocations: 0.5082 MB / 458.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.319, allocations: 0.801 MB / 459.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.319, allocations: 11.98 kB / 459.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00228/0.3213, allocations: 0.893 MB / 460.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.3214, allocations: 11.94 kB / 460.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.3214, allocations: 11.94 kB / 460.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002935/0.3217, allocations: 74 kB / 460.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009038/0.3226, allocations: 195.6 kB / 460.7 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/0.3251, allocations: 2.669 MB / 463.3 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007285/0.3258, allocations: 56.02 kB / 463.4 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.3259, allocations: 43.92 kB / 463.4 MB, free: 6.93 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.0003553/0.3262, allocations: 209.6 kB / 463.6 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.3263, allocations: 47.66 kB / 463.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.3284, allocations: 0.7299 MB / 464.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.3284, allocations: 8 kB / 464.4 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3284, allocations: 0 / 464.4 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.3285, allocations: 11.86 kB / 464.4 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.3314, allocations: 1.38 MB / 465.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3314, allocations: 4 kB / 465.8 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006901/0.3321, allocations: 131.8 kB / 465.9 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002103/0.3323, allocations: 61.61 kB / 466 MB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/0.3323, allocations: 15.98 kB / 466 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.3346, allocations: 2.646 MB / 468.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3346, allocations: 0 / 468.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002707/0.3373, allocations: 1.085 MB / 469.8 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.3375, allocations: 91.61 kB / 469.8 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.3376, allocations: 12 kB / 469.9 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005154/0.3381, allocations: 43.95 kB / 469.9 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.3382, allocations: 52.47 kB / 469.9 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.3383, allocations: 19.98 kB / 470 MB, free: 68 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002817/0.3385, allocations: 219.1 kB / 470.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3385, allocations: 0 / 470.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007245/0.3393, allocations: 172 kB / 470.3 MB, free: 15.68 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.0002966/0.3396, allocations: 166.1 kB / 470.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.3418, allocations: 0.8885 MB / 471.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3418, allocations: 0 / 471.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.3428, allocations: 0.5195 MB / 471.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.3433, allocations: 45.03 kB / 472 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.346, allocations: 1.214 MB / 473.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005174/0.3465, allocations: 0.881 MB / 474.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003644/0.3469, allocations: 88.5 kB / 474.1 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.3471, allocations: 55.41 kB / 474.2 MB, free: 11.71 MB / 382.1 MB Notification: Performance of SimCode: time 5.52e-07/0.3471, allocations: 0 / 474.2 MB, free: 11.71 MB / 382.1 MB Notification: Performance of Templates: time 0.01424/0.3613, allocations: 7.033 MB / 481.2 MB, free: 4.73 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.606604584492743]