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.00176/0.00176, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.002263/0.002263, allocations: 217.4 kB / 23 MB, free: 5.574 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.427/1.427, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.001863/0.001863, allocations: 67.89 kB / 376.5 MB, free: 3.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2336, allocations: 53.32 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006795/0.2404, allocations: 5.142 MB / 435 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004639/0.245, allocations: 2.183 MB / 437.1 MB, free: 176 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004008/0.2454, allocations: 16 kB / 437.2 MB, free: 160 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003387/0.2488, allocations: 1.4 MB / 438.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.2501, allocations: 433 kB / 439 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.2526, allocations: 1.218 MB / 440.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.2538, allocations: 0.7472 MB / 440.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009176/0.2547, allocations: 0.5027 MB / 441.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005038/0.2552, allocations: 338.8 kB / 441.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000507/0.2557, allocations: 430.3 kB / 442.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.221e-05/0.2558, allocations: 72 kB / 442.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008973/0.2567, allocations: 411.6 kB / 442.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.2568, allocations: 171.4 kB / 442.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.2572, allocations: 382.1 kB / 443.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.2588, allocations: 1.218 MB / 444.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2588, allocations: 4 kB / 444.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2588, allocations: 0 / 444.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.2588, allocations: 4 kB / 444.4 MB, free: 8.852 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.004498/0.2633, allocations: 1.489 MB / 445.9 MB, free: 7.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2634, allocations: 12.03 kB / 445.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/0.266, allocations: 360.2 kB / 446.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.2663, allocations: 259.4 kB / 446.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/0.2664, allocations: 66.38 kB / 446.6 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.2665, allocations: 80.38 kB / 446.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.2683, allocations: 0.8757 MB / 447.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.2684, allocations: 7.953 kB / 447.6 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.643e-05/0.2684, allocations: 36 kB / 447.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.2685, allocations: 23.94 kB / 447.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.2703, allocations: 0.7886 MB / 448.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004884/0.2752, allocations: 3.03 MB / 451.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.2765, allocations: 0.9572 MB / 452.4 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005163/0.277, allocations: 218.4 kB / 452.6 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/0.2772, allocations: 182.7 kB / 452.8 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.2773, allocations: 39.12 kB / 452.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.124e-06/0.2773, allocations: 0 / 452.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.007491/0.2848, allocations: 2.401 MB / 455.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.2848, allocations: 81.67 kB / 455.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/0.2852, allocations: 320.3 kB / 455.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.2852, allocations: 33.7 kB / 455.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.2855, allocations: 379.9 kB / 456 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.2857, allocations: 222.1 kB / 456.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.2859, allocations: 142.6 kB / 456.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2861, allocations: 354.7 kB / 456.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007528/0.2868, allocations: 265.8 kB / 457 MB, free: 11.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009366/0.2878, allocations: 0.5121 MB / 457.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.2895, allocations: 0.8037 MB / 458.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2895, allocations: 0 / 458.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002137/0.2916, allocations: 0.9028 MB / 459.2 MB, free: 9.223 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.2916, allocations: 15.94 kB / 459.2 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.2917, allocations: 8 kB / 459.2 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002603/0.2919, allocations: 65.67 kB / 459.3 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008567/0.2928, allocations: 199.6 kB / 459.5 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.2952, allocations: 2.868 MB / 462.4 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/0.2958, allocations: 67.89 kB / 462.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.489e-05/0.2959, allocations: 39.92 kB / 462.5 MB, free: 5.684 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.0003261/0.2962, allocations: 221.6 kB / 462.7 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.663e-05/0.2963, allocations: 47.64 kB / 462.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.2982, allocations: 0.7235 MB / 463.4 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2982, allocations: 4 kB / 463.5 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2983, allocations: 4 kB / 463.5 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.2983, allocations: 7.922 kB / 463.5 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/0.301, allocations: 1.409 MB / 464.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.301, allocations: 0 / 464.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006638/0.3017, allocations: 131.8 kB / 465 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000193/0.3019, allocations: 65.67 kB / 465.1 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.3019, allocations: 15.98 kB / 465.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/0.3042, allocations: 2.85 MB / 467.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3042, allocations: 0 / 467.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.3068, allocations: 1.083 MB / 469 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.307, allocations: 164.8 kB / 469.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/0.3071, allocations: 12 kB / 469.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/0.3076, allocations: 48.02 kB / 469.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.3077, allocations: 44.5 kB / 469.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.3078, allocations: 19.98 kB / 469.3 MB, free: 14.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002641/0.308, allocations: 223.1 kB / 469.5 MB, free: 14.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.308, allocations: 0 / 469.5 MB, free: 14.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007147/0.3088, allocations: 179.9 kB / 469.7 MB, free: 14.04 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.0002871/0.309, allocations: 183.1 kB / 469.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.3111, allocations: 0.869 MB / 470.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3111, allocations: 0 / 470.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.3121, allocations: 0.5282 MB / 471.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.3125, allocations: 49.02 kB / 471.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.3153, allocations: 1.214 MB / 472.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000582/0.3159, allocations: 0.8849 MB / 473.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003747/0.3163, allocations: 84.52 kB / 473.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.3164, allocations: 55.41 kB / 473.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3164, allocations: 0 / 473.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of Templates: time 0.0143/0.3307, allocations: 6.842 MB / 480.4 MB, free: 3.27 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.607002915814519]