Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001442/0.001442, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002402/0.002402, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.ToroidalCoreAirgap,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.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,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.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 55.92 kB / 378.2 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2319, allocations: 53.36 MB / 431.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006641/0.2385, allocations: 4.566 MB / 436.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003789/0.2423, allocations: 2.012 MB / 438.2 MB, free: 88 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.2426, allocations: 16 kB / 438.2 MB, free: 72 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003262/0.2458, allocations: 1.306 MB / 439.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.2469, allocations: 413.3 kB / 439.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.2494, allocations: 1.134 MB / 441 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.2504, allocations: 0.7277 MB / 441.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.2514, allocations: 0.57 MB / 442.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005001/0.2519, allocations: 342.8 kB / 442.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005242/0.2525, allocations: 370.3 kB / 443 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.2526, allocations: 68 kB / 443.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008588/0.2534, allocations: 395.6 kB / 443.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.2536, allocations: 167.4 kB / 443.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003318/0.2539, allocations: 306.6 kB / 443.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.2554, allocations: 1.214 MB / 445.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2554, allocations: 3.938 kB / 445.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.2554, allocations: 0 / 445.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.2555, allocations: 0 / 445.2 MB, free: 9.086 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.004382/0.2598, allocations: 1.408 MB / 446.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2599, allocations: 8.031 kB / 446.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002559/0.2624, allocations: 364.1 kB / 446.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.2627, allocations: 198.3 kB / 447.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-05/0.2628, allocations: 66.38 kB / 447.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.2629, allocations: 80.38 kB / 447.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.2646, allocations: 0.9012 MB / 448.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.2647, allocations: 3.953 kB / 448.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.779e-05/0.2647, allocations: 36 kB / 448.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.2648, allocations: 23.94 kB / 448.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.2666, allocations: 0.7808 MB / 449 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004298/0.2709, allocations: 2.301 MB / 451.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.272, allocations: 0.5102 MB / 451.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000528/0.2725, allocations: 218.2 kB / 452 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-05/0.2726, allocations: 24.48 kB / 452.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.2727, allocations: 35.06 kB / 452.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.285e-06/0.2727, allocations: 0 / 452.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007413/0.2801, allocations: 2.171 MB / 454.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.2802, allocations: 81.61 kB / 454.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.2805, allocations: 315.8 kB / 454.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.2806, allocations: 37.7 kB / 454.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.2808, allocations: 363.9 kB / 455 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.281, allocations: 226 kB / 455.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.2812, allocations: 146.6 kB / 455.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.2814, allocations: 346.8 kB / 455.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007592/0.2822, allocations: 273.8 kB / 456 MB, free: 13.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009953/0.2831, allocations: 0.5216 MB / 456.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.2849, allocations: 0.8088 MB / 457.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2849, allocations: 0 / 457.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002153/0.2871, allocations: 0.9088 MB / 458.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.2871, allocations: 12 kB / 458.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.2871, allocations: 4 kB / 458.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002606/0.2874, allocations: 65.67 kB / 458.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008668/0.2882, allocations: 207.6 kB / 458.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.2905, allocations: 2.611 MB / 461.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006329/0.2911, allocations: 67.97 kB / 461.2 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.2912, allocations: 39.97 kB / 461.2 MB, free: 8.238 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.0003115/0.2915, allocations: 213.6 kB / 461.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.2916, allocations: 39.77 kB / 461.5 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/0.2936, allocations: 0.7335 MB / 462.2 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.2936, allocations: 8 kB / 462.2 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2936, allocations: 3.984 kB / 462.2 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2936, allocations: 4 kB / 462.2 MB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/0.2962, allocations: 1.197 MB / 463.4 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.2962, allocations: 3.938 kB / 463.4 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006635/0.2969, allocations: 135.8 kB / 463.6 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001739/0.297, allocations: 53.69 kB / 463.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/0.2971, allocations: 19.98 kB / 463.6 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.2992, allocations: 2.6 MB / 466.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2992, allocations: 0 / 466.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.3018, allocations: 1.07 MB / 467.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.302, allocations: 91.67 kB / 467.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.518e-05/0.3021, allocations: 12 kB / 467.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/0.3026, allocations: 43.95 kB / 467.5 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.3027, allocations: 44.41 kB / 467.5 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.3027, allocations: 19.98 kB / 467.5 MB, free: 1.664 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002251/0.3029, allocations: 203 kB / 467.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3029, allocations: 4.062 kB / 467.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007133/0.3037, allocations: 179.9 kB / 467.9 MB, free: 1.285 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.0002939/0.3039, allocations: 167 kB / 468.1 MB, free: 1.109 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.3059, allocations: 0.8729 MB / 468.9 MB, free: 220 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3059, allocations: 0 / 468.9 MB, free: 220 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.307, allocations: 0.5275 MB / 469.5 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.3074, allocations: 40.97 kB / 469.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.31, allocations: 1.198 MB / 470.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3103, allocations: 282.6 kB / 471 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003707/0.3106, allocations: 88.36 kB / 471.1 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.3108, allocations: 55.41 kB / 471.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3108, allocations: 0 / 471.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of Templates: time 0.01425/0.3251, allocations: 7.1 MB / 478.2 MB, free: 6.961 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.661029161885381]