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.001492/0.001492, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001702/0.001702, allocations: 211.4 kB / 23.73 MB, free: 4.41 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.418/1.418, allocations: 230.6 MB / 257.5 MB, free: 7.805 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2223, allocations: 53.36 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00655/0.2288, allocations: 4.588 MB / 435.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003777/0.2326, allocations: 2.02 MB / 437.7 MB, free: 0 / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004497/0.2331, allocations: 16.05 kB / 437.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003236/0.2363, allocations: 1.298 MB / 439 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.2375, allocations: 425.3 kB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.2398, allocations: 1.134 MB / 440.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009678/0.2408, allocations: 0.7472 MB / 441.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009517/0.2417, allocations: 0.5652 MB / 441.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005577/0.2423, allocations: 346.8 kB / 442.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006132/0.2429, allocations: 382.3 kB / 442.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.243, allocations: 68 kB / 442.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000867/0.2439, allocations: 387.6 kB / 443 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.2441, allocations: 175.4 kB / 443.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000416/0.2445, allocations: 306.6 kB / 443.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.2461, allocations: 1.222 MB / 444.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2461, allocations: 0 / 444.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2461, allocations: 4 kB / 444.7 MB, free: 8.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.607e-05/0.2462, allocations: 0 / 444.7 MB, free: 8.949 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.004504/0.2507, allocations: 1.406 MB / 446.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2507, allocations: 8.031 kB / 446.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.2509, allocations: 135.4 kB / 446.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/0.2534, allocations: 364.1 kB / 446.6 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.2536, allocations: 201.6 kB / 446.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.338e-05/0.2537, allocations: 70.31 kB / 446.9 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.2538, allocations: 84.12 kB / 447 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.2556, allocations: 0.9008 MB / 447.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.2557, allocations: 3.953 kB / 447.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.41e-05/0.2557, allocations: 36 kB / 447.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.2557, allocations: 20 kB / 447.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.2576, allocations: 0.7886 MB / 448.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004347/0.2619, allocations: 2.398 MB / 451.1 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.263, allocations: 0.5063 MB / 451.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/0.2635, allocations: 218.2 kB / 451.8 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.018e-05/0.2636, allocations: 24.48 kB / 451.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.2637, allocations: 39.06 kB / 451.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 1.843e-06/0.2637, allocations: 0 / 451.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007125/0.2708, allocations: 2.171 MB / 454.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.2708, allocations: 85.61 kB / 454.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.2712, allocations: 332.2 kB / 454.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.2713, allocations: 37.7 kB / 454.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.2715, allocations: 375.9 kB / 454.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.2717, allocations: 222.1 kB / 455.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.2719, allocations: 150.5 kB / 455.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2721, allocations: 350.7 kB / 455.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007619/0.2728, allocations: 277.8 kB / 455.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009571/0.2738, allocations: 0.5216 MB / 456.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/0.2756, allocations: 0.8088 MB / 457.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.2756, allocations: 4 kB / 457.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002106/0.2777, allocations: 0.905 MB / 458.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.2777, allocations: 11.94 kB / 458.1 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.2777, allocations: 12 kB / 458.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002302/0.2779, allocations: 65.67 kB / 458.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008385/0.2788, allocations: 199.7 kB / 458.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.281, allocations: 2.657 MB / 461 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000616/0.2816, allocations: 60.08 kB / 461.1 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/0.2817, allocations: 43.97 kB / 461.2 MB, free: 7.73 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.000278/0.282, allocations: 213.6 kB / 461.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.433e-05/0.282, allocations: 47.66 kB / 461.4 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.284, allocations: 0.7258 MB / 462.1 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.284, allocations: 4 kB / 462.1 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.284, allocations: 0 / 462.1 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.284, allocations: 11.92 kB / 462.1 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00279/0.2868, allocations: 1.306 MB / 463.5 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2868, allocations: 0 / 463.5 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006609/0.2874, allocations: 127.8 kB / 463.6 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001777/0.2876, allocations: 61.66 kB / 463.6 MB, free: 5.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.2877, allocations: 12 kB / 463.6 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.2899, allocations: 2.642 MB / 466.3 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.2899, allocations: 3.938 kB / 466.3 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.2924, allocations: 1.078 MB / 467.4 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.2927, allocations: 79.72 kB / 467.5 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.2927, allocations: 19.92 kB / 467.5 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.2932, allocations: 43.95 kB / 467.5 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.2933, allocations: 48.41 kB / 467.6 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.2934, allocations: 24.05 kB / 467.6 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000246/0.2936, allocations: 219.1 kB / 467.8 MB, free: 0.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2936, allocations: 0 / 467.8 MB, free: 0.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007356/0.2944, allocations: 183.9 kB / 468 MB, free: 0.5703 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.003116/0.2975, allocations: 1.68 MB / 469.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002026/0.2995, allocations: 0.8759 MB / 470.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2995, allocations: 0 / 470.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.3005, allocations: 0.5205 MB / 471.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.301, allocations: 58.52 kB / 471.1 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009254/0.3103, allocations: 5.157 MB / 476.3 MB, free: 7.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.3106, allocations: 282.7 kB / 476.5 MB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003836/0.311, allocations: 92.5 kB / 476.6 MB, free: 7.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003605/0.3113, allocations: 227.3 kB / 476.9 MB, free: 7.297 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3113, allocations: 0 / 476.9 MB, free: 7.297 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04777/0.3591, allocations: 12.35 MB / 489.2 MB, free: 11.19 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/14.59, allocations: 7.938 kB / 489.2 MB, free: 11.18 MB / 398.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/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: 17.107380935922265]