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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001646/0.001646, allocations: 109.1 kB / 21.18 MB, free: 0.7773 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.001766/0.001766, allocations: 209.5 kB / 24.49 MB, free: 4.164 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.443/1.443, allocations: 230.5 MB / 258.1 MB, free: 8.031 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.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.001943/0.001943, allocations: 63.84 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2534, allocations: 53.41 MB / 432.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006984/0.2604, allocations: 5.111 MB / 437.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004097/0.2645, allocations: 2.179 MB / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000331/0.2648, allocations: 16 kB / 439.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003321/0.2681, allocations: 1.415 MB / 441.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.2692, allocations: 425.3 kB / 441.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.2716, allocations: 1.217 MB / 442.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.2726, allocations: 0.7395 MB / 443.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.2737, allocations: 0.5729 MB / 444.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004844/0.2742, allocations: 342.8 kB / 444.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005169/0.2747, allocations: 426.3 kB / 444.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.696e-05/0.2748, allocations: 68 kB / 444.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008432/0.2756, allocations: 411.6 kB / 445.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.2758, allocations: 163.4 kB / 445.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003433/0.2761, allocations: 382.1 kB / 445.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.2776, allocations: 1.218 MB / 447.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2776, allocations: 0 / 447.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2776, allocations: 4 kB / 447.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.2776, allocations: 0 / 447.1 MB, free: 8.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.0042/0.2818, allocations: 1.406 MB / 448.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2819, allocations: 8.031 kB / 448.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002558/0.2844, allocations: 368.1 kB / 448.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.2847, allocations: 198.3 kB / 449.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.696e-05/0.2847, allocations: 66.38 kB / 449.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.2849, allocations: 80.38 kB / 449.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.2865, allocations: 0.8761 MB / 450.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.2865, allocations: 11.89 kB / 450.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.172e-05/0.2866, allocations: 28 kB / 450.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.2866, allocations: 20 kB / 450.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.2884, allocations: 0.7886 MB / 450.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00465/0.293, allocations: 2.775 MB / 453.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.2941, allocations: 0.5093 MB / 454.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005043/0.2946, allocations: 218.2 kB / 454.4 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.863e-05/0.2947, allocations: 28.47 kB / 454.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.2947, allocations: 39.05 kB / 454.5 MB, free: 412 kB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 1.964e-06/0.2947, allocations: 0 / 454.5 MB, free: 412 kB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007031/0.3018, allocations: 2.163 MB / 456.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.3018, allocations: 81.61 kB / 456.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.3022, allocations: 312.3 kB / 457 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.3022, allocations: 37.7 kB / 457.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.3025, allocations: 375.9 kB / 457.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.3026, allocations: 218.1 kB / 457.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.3029, allocations: 146.6 kB / 457.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.303, allocations: 354.7 kB / 458.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007539/0.3038, allocations: 269.8 kB / 458.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009312/0.3047, allocations: 0.5043 MB / 458.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.3064, allocations: 0.8048 MB / 459.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.3064, allocations: 4 kB / 459.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002114/0.3086, allocations: 0.9011 MB / 460.6 MB, free: 9.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3086, allocations: 8 kB / 460.6 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.3086, allocations: 8 kB / 460.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.3088, allocations: 69.61 kB / 460.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008587/0.3097, allocations: 199.7 kB / 460.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/0.312, allocations: 2.665 MB / 463.6 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006399/0.3126, allocations: 55.95 kB / 463.6 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.407e-05/0.3127, allocations: 39.98 kB / 463.7 MB, free: 6.676 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.0003173/0.313, allocations: 217.6 kB / 463.9 MB, free: 6.453 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.3131, allocations: 43.72 kB / 463.9 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.315, allocations: 0.7257 MB / 464.6 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.3151, allocations: 7.984 kB / 464.7 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3151, allocations: 4 kB / 464.7 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.3151, allocations: 3.984 kB / 464.7 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.3179, allocations: 1.383 MB / 466 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3179, allocations: 4 kB / 466 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006689/0.3186, allocations: 127.8 kB / 466.2 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001888/0.3188, allocations: 57.67 kB / 466.2 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.042e-05/0.3188, allocations: 19.98 kB / 466.2 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.321, allocations: 2.642 MB / 468.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.321, allocations: 0 / 468.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.3236, allocations: 1.082 MB / 470 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/0.3238, allocations: 83.7 kB / 470.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/0.3239, allocations: 15.98 kB / 470.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/0.3244, allocations: 48.02 kB / 470.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.3245, allocations: 48.41 kB / 470.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.3245, allocations: 19.98 kB / 470.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000234/0.3248, allocations: 203.1 kB / 470.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3248, allocations: 3.938 kB / 470.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007183/0.3255, allocations: 176 kB / 470.6 MB, free: 15.45 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.0002786/0.3258, allocations: 171 kB / 470.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002054/0.3278, allocations: 0.8727 MB / 471.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3278, allocations: 0 / 471.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.3289, allocations: 0.5276 MB / 472.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.3293, allocations: 44.58 kB / 472.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.3322, allocations: 1.236 MB / 473.4 MB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.3327, allocations: 0.8771 MB / 474.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.333, allocations: 59.41 kB / 474.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.333, allocations: 4 kB / 474.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of Templates: time 0.01895/0.3519, allocations: 13.48 MB / 487.8 MB, free: 14.07 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 [Calling sys.exit(0), Time elapsed: 7.979356157127768]