Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.006663/0.006663, allocations: 109.2 kB / 21.98 MB, free: 5.184 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.002423/0.002423, allocations: 220 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 259 MB, free: 8.027 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-beta.om/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.QuadraticCoreAirgap,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-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,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-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 59.91 kB / 379.8 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2679, allocations: 53.36 MB / 433.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008856/0.2767, allocations: 6.765 MB / 440 MB, free: 152 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005006/0.2817, allocations: 2.487 MB / 442.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007502/0.2825, allocations: 20 kB / 442.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004516/0.287, allocations: 1.9 MB / 444.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.289, allocations: 0.5511 MB / 444.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.2919, allocations: 1.328 MB / 446.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001834/0.2938, allocations: 1.121 MB / 447.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.2952, allocations: 0.8307 MB / 448.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007104/0.2959, allocations: 498.1 kB / 448.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007898/0.2967, allocations: 0.6264 MB / 449.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.2968, allocations: 104 kB / 449.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.2981, allocations: 447.6 kB / 449.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.2983, allocations: 247.1 kB / 450.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005829/0.2989, allocations: 0.5597 MB / 450.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.3012, allocations: 1.673 MB / 452.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3012, allocations: 0 / 452.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3012, allocations: 0 / 452.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.3013, allocations: 4 kB / 452.3 MB, free: 3.727 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006574/0.3078, allocations: 1.976 MB / 454.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3079, allocations: 12.03 kB / 454.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003548/0.3114, allocations: 499.7 kB / 454.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.3118, allocations: 244.9 kB / 455 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.3119, allocations: 103 kB / 455.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002672/0.3122, allocations: 128.3 kB / 455.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.3149, allocations: 1.304 MB / 456.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.393e-05/0.315, allocations: 8 kB / 456.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.3151, allocations: 48 kB / 456.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.338e-05/0.3151, allocations: 32 kB / 456.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.3178, allocations: 1.189 MB / 457.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007357/0.3252, allocations: 4.04 MB / 461.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/0.3274, allocations: 1.141 MB / 463 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009745/0.3284, allocations: 459.9 kB / 463.5 MB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.3285, allocations: 48.94 kB / 463.5 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/0.3286, allocations: 47.56 kB / 463.6 MB, free: 8.211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 2.955e-06/0.3286, allocations: 0 / 463.6 MB, free: 8.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01081/0.3394, allocations: 3.537 MB / 467.1 MB, free: 4.637 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.3395, allocations: 90.11 kB / 467.2 MB, free: 4.531 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005637/0.3401, allocations: 397.5 kB / 467.6 MB, free: 4.137 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.395e-05/0.3402, allocations: 45.7 kB / 467.6 MB, free: 4.086 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.3405, allocations: 472.6 kB / 468.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004583/0.341, allocations: 444.1 kB / 468.5 MB, free: 3.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003827/0.3414, allocations: 231.5 kB / 468.7 MB, free: 2.945 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.3416, allocations: 370.8 kB / 469.1 MB, free: 2.574 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.3427, allocations: 439.8 kB / 469.5 MB, free: 2.145 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.344, allocations: 0.6918 MB / 470.2 MB, free: 1.352 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002538/0.3465, allocations: 1.175 MB / 471.4 MB, free: 80 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.3465, allocations: 4 kB / 471.4 MB, free: 76 kB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003553/0.3501, allocations: 1.463 MB / 472.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.3501, allocations: 11.94 kB / 472.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.3501, allocations: 8 kB / 472.9 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005952/0.3507, allocations: 193.6 kB / 473.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.352, allocations: 291.5 kB / 473.4 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005187/0.3572, allocations: 4.165 MB / 477.5 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.3583, allocations: 83.95 kB / 477.6 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.3584, allocations: 55.98 kB / 477.7 MB, free: 9.574 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000591/0.359, allocations: 263.6 kB / 477.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.3591, allocations: 71.58 kB / 478 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/0.3624, allocations: 1.327 MB / 479.3 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.3624, allocations: 12 kB / 479.3 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.3624, allocations: 7.938 kB / 479.3 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/0.3625, allocations: 15.95 kB / 479.4 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005379/0.3678, allocations: 2.558 MB / 481.9 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.3678, allocations: 7.938 kB / 481.9 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.3689, allocations: 207.7 kB / 482.1 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/0.3694, allocations: 173.7 kB / 482.3 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.681e-05/0.3695, allocations: 27.98 kB / 482.3 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004953/0.3745, allocations: 3.974 MB / 486.3 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3745, allocations: 3.938 kB / 486.3 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004353/0.3788, allocations: 1.869 MB / 488.2 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.3793, allocations: 151.4 kB / 488.3 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.3794, allocations: 20 kB / 488.3 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006656/0.3801, allocations: 64.02 kB / 488.4 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/0.3803, allocations: 100.7 kB / 488.5 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.265e-05/0.3804, allocations: 40.09 kB / 488.5 MB, free: 14.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003741/0.3807, allocations: 271.1 kB / 488.8 MB, free: 14.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3807, allocations: 0 / 488.8 MB, free: 14.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001193/0.3819, allocations: 307.9 kB / 489.1 MB, free: 13.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003459/0.3823, allocations: 186.9 kB / 489.3 MB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00343/0.3857, allocations: 1.387 MB / 490.7 MB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3857, allocations: 0 / 490.7 MB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00172/0.3874, allocations: 0.8192 MB / 491.5 MB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006255/0.3881, allocations: 65.48 kB / 491.6 MB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/0.3927, allocations: 1.929 MB / 493.5 MB, free: 9.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007754/0.3935, allocations: 1.005 MB / 494.5 MB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.3939, allocations: 99.38 kB / 494.6 MB, free: 8.137 MB / 398.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3939, allocations: 0 / 494.6 MB, free: 8.137 MB / 398.1 MB Notification: Performance of Templates: time 0.02926/0.4232, allocations: 20.21 MB / 0.5027 GB, free: 3.918 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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: 8.31463383603841]