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.001868/0.001868, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002165/0.002165, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.414/1.414, allocations: 230.6 MB / 258.2 MB, free: 7.738 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.001574/0.001574, allocations: 47.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1937, allocations: 53.36 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006503/0.2002, allocations: 4.561 MB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003192/0.2034, allocations: 2.012 MB / 438.9 MB, free: 116 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.2036, allocations: 20 kB / 438.9 MB, free: 96 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0031/0.2067, allocations: 1.303 MB / 440.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008885/0.2076, allocations: 413.4 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.2098, allocations: 1.133 MB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007958/0.2106, allocations: 0.7355 MB / 442.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008567/0.2115, allocations: 0.5866 MB / 443.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004023/0.2119, allocations: 338.8 kB / 443.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005007/0.2124, allocations: 422.3 kB / 443.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-05/0.2125, allocations: 68 kB / 443.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006589/0.2132, allocations: 411.6 kB / 444.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.2133, allocations: 163.4 kB / 444.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.2136, allocations: 306.6 kB / 444.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.2149, allocations: 1.209 MB / 446 MB, free: 9.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2149, allocations: 4 kB / 446 MB, free: 9.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2149, allocations: 0 / 446 MB, free: 9.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.2149, allocations: 0 / 446 MB, free: 9.035 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.004478/0.2194, allocations: 1.41 MB / 447.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.2194, allocations: 8.031 kB / 447.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/0.2223, allocations: 368.1 kB / 447.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.2225, allocations: 198.3 kB / 448 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.2226, allocations: 62.38 kB / 448 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.2227, allocations: 84.38 kB / 448.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.2245, allocations: 0.9011 MB / 449 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.2245, allocations: 3.953 kB / 449 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.59e-05/0.2246, allocations: 39.98 kB / 449 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.2246, allocations: 20 kB / 449.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.2265, allocations: 0.7808 MB / 449.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004271/0.2308, allocations: 2.301 MB / 452.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.2319, allocations: 0.5103 MB / 452.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/0.2325, allocations: 214.2 kB / 452.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.315e-05/0.2326, allocations: 28.47 kB / 452.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.2326, allocations: 39.06 kB / 452.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 1.873e-06/0.2326, allocations: 0 / 452.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007695/0.2403, allocations: 2.163 MB / 455.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.2403, allocations: 85.59 kB / 455.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.2407, allocations: 307.9 kB / 455.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/0.2407, allocations: 37.7 kB / 455.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.241, allocations: 383.8 kB / 455.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.2412, allocations: 218.1 kB / 456.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.2414, allocations: 150.5 kB / 456.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.2416, allocations: 346.8 kB / 456.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000796/0.2424, allocations: 265.8 kB / 456.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.2434, allocations: 0.5255 MB / 457.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.2452, allocations: 0.8088 MB / 458.2 MB, free: 12.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.2452, allocations: 3.938 kB / 458.2 MB, free: 12.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002191/0.2474, allocations: 0.8927 MB / 459.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.2474, allocations: 12 kB / 459.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.2474, allocations: 8.562 kB / 459.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002364/0.2477, allocations: 73.61 kB / 459.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009413/0.2486, allocations: 203.7 kB / 459.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.2508, allocations: 2.611 MB / 462 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000655/0.2514, allocations: 63.91 kB / 462 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.846e-05/0.2515, allocations: 40.11 kB / 462.1 MB, free: 8.188 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.0002817/0.2518, allocations: 221.5 kB / 462.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-05/0.2519, allocations: 39.77 kB / 462.3 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.2539, allocations: 0.7335 MB / 463.1 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.2539, allocations: 4 kB / 463.1 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2539, allocations: 0 / 463.1 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.2539, allocations: 3.984 kB / 463.1 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.2566, allocations: 1.208 MB / 464.3 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2566, allocations: 0 / 464.3 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/0.2573, allocations: 131.8 kB / 464.4 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001781/0.2575, allocations: 61.67 kB / 464.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.2575, allocations: 12 kB / 464.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.2596, allocations: 2.596 MB / 467.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2596, allocations: 0 / 467.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.2623, allocations: 1.066 MB / 468.1 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.2625, allocations: 87.67 kB / 468.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.901e-05/0.2626, allocations: 12 kB / 468.2 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.2631, allocations: 56 kB / 468.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.2632, allocations: 52.34 kB / 468.3 MB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.2633, allocations: 19.94 kB / 468.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.2635, allocations: 203.1 kB / 468.6 MB, free: 1.402 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2635, allocations: 0 / 468.6 MB, free: 1.402 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006378/0.2641, allocations: 175.9 kB / 468.7 MB, free: 1.23 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.0002491/0.2644, allocations: 163.1 kB / 468.9 MB, free: 1.059 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.2664, allocations: 0.8652 MB / 469.8 MB, free: 176 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2664, allocations: 0 / 469.8 MB, free: 176 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.2675, allocations: 0.5351 MB / 470.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.2679, allocations: 40.97 kB / 470.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.2704, allocations: 1.192 MB / 471.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.2707, allocations: 282.6 kB / 471.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003719/0.2711, allocations: 88.36 kB / 471.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.2713, allocations: 59.34 kB / 471.9 MB, free: 13.9 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2713, allocations: 0 / 471.9 MB, free: 13.9 MB / 382.1 MB Notification: Performance of Templates: time 0.01413/0.2854, allocations: 7.326 MB / 479.3 MB, free: 6.68 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 -s gbode -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/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_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.574026457994478]