Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001914/0.001914, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002432/0.002432, allocations: 214.6 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.2 MB / 256.8 MB, free: 8.621 MB / 206.1 MB [Timeout remaining time 88] 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.ToroidalCoreAirgap,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.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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 64.12 kB / 376.9 MB, free: 3.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2473, allocations: 53.31 MB / 430.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006985/0.2543, allocations: 5.075 MB / 435.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004038/0.2583, allocations: 2.183 MB / 437.5 MB, free: 352 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.2587, allocations: 16 kB / 437.5 MB, free: 336 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003323/0.2621, allocations: 1.411 MB / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.2633, allocations: 429.3 kB / 439.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.2656, allocations: 1.213 MB / 440.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.2667, allocations: 0.7317 MB / 441.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009281/0.2676, allocations: 0.4988 MB / 441.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00052/0.2681, allocations: 338.8 kB / 442.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005727/0.2687, allocations: 430.3 kB / 442.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.2688, allocations: 64 kB / 442.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.2698, allocations: 419.6 kB / 443 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.27, allocations: 163.4 kB / 443.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003895/0.2704, allocations: 374.2 kB / 443.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.2721, allocations: 1.214 MB / 444.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2721, allocations: 0 / 444.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2721, allocations: 0 / 444.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.2722, allocations: 7.938 kB / 444.7 MB, free: 9.059 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.004401/0.2766, allocations: 1.477 MB / 446.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2766, allocations: 8.031 kB / 446.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00259/0.2792, allocations: 368.1 kB / 446.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.2795, allocations: 256.1 kB / 446.8 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.789e-05/0.2796, allocations: 66.38 kB / 446.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.2797, allocations: 84.33 kB / 447 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.2815, allocations: 0.8722 MB / 447.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.2815, allocations: 4 kB / 447.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.198e-05/0.2816, allocations: 36 kB / 447.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.2816, allocations: 20 kB / 447.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.2834, allocations: 0.7886 MB / 448.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005017/0.2884, allocations: 3.026 MB / 451.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.2898, allocations: 0.9495 MB / 452.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004968/0.2903, allocations: 222.3 kB / 452.9 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.2905, allocations: 182.7 kB / 453.1 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.2905, allocations: 39.06 kB / 453.1 MB, free: 212 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.033e-06/0.2905, allocations: 0 / 453.1 MB, free: 212 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007513/0.298, allocations: 2.401 MB / 455.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.2981, allocations: 81.67 kB / 455.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.2985, allocations: 311.1 kB / 455.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.2985, allocations: 37.7 kB / 455.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.2988, allocations: 371.9 kB / 456.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.299, allocations: 210.2 kB / 456.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.2992, allocations: 154.5 kB / 456.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.2994, allocations: 346.8 kB / 457 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007356/0.3001, allocations: 269.8 kB / 457.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009532/0.3011, allocations: 0.5081 MB / 457.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.3028, allocations: 0.8036 MB / 458.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.3028, allocations: 4 kB / 458.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002126/0.3049, allocations: 0.8988 MB / 459.5 MB, free: 9.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.3049, allocations: 8 kB / 459.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.3049, allocations: 8 kB / 459.5 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002531/0.3052, allocations: 69.61 kB / 459.5 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008759/0.3061, allocations: 203.7 kB / 459.7 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.3086, allocations: 2.86 MB / 462.6 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006691/0.3092, allocations: 55.95 kB / 462.7 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.3093, allocations: 39.98 kB / 462.7 MB, free: 5.957 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.0003224/0.3096, allocations: 217.6 kB / 462.9 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.3097, allocations: 43.72 kB / 462.9 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/0.3117, allocations: 0.7311 MB / 463.7 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.3117, allocations: 8 kB / 463.7 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3117, allocations: 0 / 463.7 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.3117, allocations: 7.984 kB / 463.7 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002828/0.3145, allocations: 1.409 MB / 465.1 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.3145, allocations: 4 kB / 465.1 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006707/0.3152, allocations: 139.7 kB / 465.2 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001966/0.3154, allocations: 61.67 kB / 465.3 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.975e-05/0.3154, allocations: 12 kB / 465.3 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002348/0.3178, allocations: 2.846 MB / 468.2 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3178, allocations: 3.938 kB / 468.2 MB, free: 112 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.3204, allocations: 1.071 MB / 469.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002403/0.3206, allocations: 164.7 kB / 469.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.3207, allocations: 12 kB / 469.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004977/0.3212, allocations: 52 kB / 469.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.3213, allocations: 44.5 kB / 469.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.3213, allocations: 19.98 kB / 469.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002399/0.3216, allocations: 203.1 kB / 469.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3216, allocations: 3.938 kB / 469.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007421/0.3223, allocations: 179.9 kB / 469.9 MB, free: 14.34 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.0002897/0.3226, allocations: 171.1 kB / 470.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002023/0.3246, allocations: 0.8801 MB / 470.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3246, allocations: 0 / 470.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.3256, allocations: 0.5209 MB / 471.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.3261, allocations: 48.58 kB / 471.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.3288, allocations: 1.232 MB / 472.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.3293, allocations: 0.8849 MB / 473.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.3295, allocations: 67.41 kB / 473.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3295, allocations: 0 / 473.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of Templates: time 0.01848/0.348, allocations: 13.49 MB / 487.2 MB, free: 12.95 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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