Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001278/0.001278, allocations: 107.6 kB / 21.19 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.001429/0.001429, allocations: 215.5 kB / 24.48 MB, free: 3.957 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.495/1.495, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.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_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_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 51.91 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2341, allocations: 53.36 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008298/0.2424, allocations: 5.947 MB / 438.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004879/0.2472, allocations: 2.32 MB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006576/0.2479, allocations: 20 kB / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004596/0.2525, allocations: 1.749 MB / 442.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.2545, allocations: 0.5394 MB / 442.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.2576, allocations: 1.245 MB / 444.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001991/0.2596, allocations: 1.113 MB / 445.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.261, allocations: 0.8445 MB / 446.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007438/0.2618, allocations: 490.2 kB / 446.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008087/0.2626, allocations: 0.6225 MB / 447.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.2627, allocations: 100 kB / 447.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.2637, allocations: 443.7 kB / 447.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.264, allocations: 247 kB / 448 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004859/0.2644, allocations: 461.8 kB / 448.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.2666, allocations: 1.676 MB / 450.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2666, allocations: 0 / 450.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2666, allocations: 3.938 kB / 450.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.2666, allocations: 0 / 450.1 MB, free: 4.832 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.006737/0.2734, allocations: 1.983 MB / 452.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2734, allocations: 8.031 kB / 452.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/0.2771, allocations: 491.8 kB / 452.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.2775, allocations: 260.8 kB / 452.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.2776, allocations: 94.95 kB / 453 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002568/0.2779, allocations: 136.3 kB / 453.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/0.2806, allocations: 1.332 MB / 454.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.212e-05/0.2806, allocations: 4 kB / 454.4 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.2807, allocations: 48 kB / 454.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.2807, allocations: 35.94 kB / 454.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00264/0.2834, allocations: 1.177 MB / 455.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00692/0.2903, allocations: 3.341 MB / 459 MB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.2925, allocations: 1.147 MB / 460.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009211/0.2934, allocations: 452.7 kB / 460.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.2936, allocations: 48.89 kB / 460.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/0.2936, allocations: 43.56 kB / 460.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.337e-06/0.2936, allocations: 0 / 460.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01073/0.3043, allocations: 3.536 MB / 464.2 MB, free: 6.477 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.659e-05/0.3044, allocations: 90.11 kB / 464.3 MB, free: 6.367 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.3049, allocations: 397.2 kB / 464.7 MB, free: 5.973 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.311e-05/0.305, allocations: 45.7 kB / 464.8 MB, free: 5.922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.3053, allocations: 464.5 kB / 465.2 MB, free: 5.461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003871/0.3057, allocations: 444.2 kB / 465.7 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003806/0.3061, allocations: 231.5 kB / 465.9 MB, free: 4.789 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3063, allocations: 370.8 kB / 466.2 MB, free: 4.418 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.3074, allocations: 439.8 kB / 466.7 MB, free: 3.988 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.3087, allocations: 0.7208 MB / 467.4 MB, free: 3.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002415/0.3111, allocations: 1.175 MB / 468.6 MB, free: 1.887 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.3111, allocations: 4 kB / 468.6 MB, free: 1.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003243/0.3143, allocations: 1.455 MB / 470 MB, free: 424 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.3144, allocations: 11.94 kB / 470 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.3144, allocations: 8 kB / 470 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006176/0.315, allocations: 199.8 kB / 470.2 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.3163, allocations: 291.6 kB / 470.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004684/0.321, allocations: 4.057 MB / 474.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009833/0.322, allocations: 83.84 kB / 474.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.3221, allocations: 63.97 kB / 474.7 MB, free: 11.51 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.0004892/0.3226, allocations: 265.5 kB / 475 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.3228, allocations: 71.52 kB / 475.1 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003172/0.3259, allocations: 1.323 MB / 476.4 MB, free: 9.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.326, allocations: 12 kB / 476.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.326, allocations: 4 kB / 476.4 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.326, allocations: 3.984 kB / 476.4 MB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00456/0.3305, allocations: 2.197 MB / 478.6 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3305, allocations: 0 / 478.6 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.3316, allocations: 211.7 kB / 478.8 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004796/0.3321, allocations: 157.7 kB / 479 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.401e-05/0.3322, allocations: 27.98 kB / 479 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004193/0.3364, allocations: 3.904 MB / 482.9 MB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3364, allocations: 0 / 482.9 MB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/0.3405, allocations: 1.865 MB / 484.8 MB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.3409, allocations: 151.4 kB / 484.9 MB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.341, allocations: 20 kB / 484.9 MB, free: 1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007219/0.3417, allocations: 64 kB / 485 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.3419, allocations: 100.8 kB / 485.1 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-05/0.342, allocations: 35.98 kB / 485.1 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003133/0.3423, allocations: 255.2 kB / 485.4 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3423, allocations: 0 / 485.4 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001194/0.3435, allocations: 303.9 kB / 485.7 MB, free: 264 kB / 382.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.0003514/0.3438, allocations: 179 kB / 485.8 MB, free: 72 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003203/0.347, allocations: 1.395 MB / 487.2 MB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.347, allocations: 192 / 487.2 MB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.3486, allocations: 0.8119 MB / 488 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.3492, allocations: 65.81 kB / 488.1 MB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004304/0.3535, allocations: 1.926 MB / 490 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.354, allocations: 416.3 kB / 490.4 MB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/0.3544, allocations: 99.39 kB / 490.5 MB, free: 11.24 MB / 398.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3544, allocations: 0 / 490.5 MB, free: 11.24 MB / 398.1 MB Notification: Performance of Templates: time 0.02776/0.3821, allocations: 20.58 MB / 0.4991 GB, free: 6.656 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.307908654998755]