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.001797/0.001797, allocations: 110.8 kB / 21.2 MB, free: 0.6211 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.002199/0.002199, allocations: 223.5 kB / 24.5 MB, free: 3.914 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.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.001573/0.001573, allocations: 43.92 kB / 379 MB, free: 2.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2116, allocations: 53.38 MB / 432.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008546/0.2202, allocations: 5.947 MB / 438.3 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004253/0.2244, allocations: 2.316 MB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002953/0.2247, allocations: 24 kB / 440.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00425/0.229, allocations: 1.744 MB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.2303, allocations: 0.5511 MB / 442.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00261/0.2329, allocations: 1.24 MB / 444.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.234, allocations: 1.113 MB / 445.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.2352, allocations: 0.8311 MB / 446.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005596/0.2358, allocations: 0.4982 MB / 446.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007052/0.2365, allocations: 0.6147 MB / 447.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.2366, allocations: 100 kB / 447.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007786/0.2374, allocations: 439.6 kB / 447.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.2376, allocations: 255 kB / 448 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004544/0.2381, allocations: 461.8 kB / 448.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.2399, allocations: 1.673 MB / 450.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2399, allocations: 0 / 450.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2399, allocations: 0 / 450.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.24, allocations: 7.938 kB / 450.2 MB, free: 4.844 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.006558/0.2465, allocations: 1.978 MB / 452.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2466, allocations: 12.03 kB / 452.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003859/0.2504, allocations: 495.8 kB / 452.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.2507, allocations: 248.9 kB / 452.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-05/0.2508, allocations: 114.8 kB / 453 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.251, allocations: 128.3 kB / 453.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.2536, allocations: 1.321 MB / 454.4 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/0.2536, allocations: 8 kB / 454.4 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.2537, allocations: 48 kB / 454.5 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.2538, allocations: 32 kB / 454.5 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.2564, allocations: 1.185 MB / 455.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006431/0.2628, allocations: 3.345 MB / 459 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/0.265, allocations: 1.135 MB / 460.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009691/0.266, allocations: 464.7 kB / 460.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.2661, allocations: 40.91 kB / 460.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.2661, allocations: 43.56 kB / 460.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.066e-06/0.2662, allocations: 0 / 460.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01066/0.2768, allocations: 3.536 MB / 464.2 MB, free: 6.492 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.2769, allocations: 94.11 kB / 464.3 MB, free: 6.379 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.2773, allocations: 385.3 kB / 464.7 MB, free: 5.996 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.509e-05/0.2774, allocations: 49.64 kB / 464.8 MB, free: 5.941 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.2777, allocations: 480.5 kB / 465.2 MB, free: 5.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/0.2781, allocations: 440.2 kB / 465.7 MB, free: 5.031 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003764/0.2784, allocations: 231.5 kB / 465.9 MB, free: 4.797 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.2786, allocations: 378.7 kB / 466.3 MB, free: 4.418 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.2797, allocations: 435.7 kB / 466.7 MB, free: 3.992 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.281, allocations: 0.717 MB / 467.4 MB, free: 3.168 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.2835, allocations: 1.171 MB / 468.6 MB, free: 1.898 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.2835, allocations: 8 kB / 468.6 MB, free: 1.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003185/0.2867, allocations: 1.455 MB / 470 MB, free: 432 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2867, allocations: 12 kB / 470 MB, free: 420 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.2867, allocations: 7.938 kB / 470.1 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00055/0.2872, allocations: 197.5 kB / 470.2 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.2886, allocations: 283.6 kB / 470.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004493/0.2931, allocations: 4.072 MB / 474.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008501/0.294, allocations: 71.95 kB / 474.7 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.2941, allocations: 55.92 kB / 474.7 MB, free: 11.53 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.0004082/0.2945, allocations: 269.4 kB / 475 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.2946, allocations: 75.64 kB / 475.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003186/0.2978, allocations: 1.319 MB / 476.4 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.2978, allocations: 7.969 kB / 476.4 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2978, allocations: 0 / 476.4 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/0.2982, allocations: 151.4 kB / 476.5 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.2983, allocations: 20 kB / 476.6 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006907/0.299, allocations: 67.88 kB / 476.6 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.2991, allocations: 104.8 kB / 476.7 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003589/0.3027, allocations: 1.338 MB / 478.1 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003572/0.3063, allocations: 1.714 MB / 479.8 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009789/0.3073, allocations: 423.7 kB / 480.2 MB, free: 6.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002963/0.3076, allocations: 255.2 kB / 480.4 MB, free: 5.766 MB / 382.1 MB Notification: Performance of Backend: time 4.61e-07/0.3076, allocations: 192 / 480.4 MB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002839/0.3104, allocations: 1.285 MB / 481.7 MB, free: 4.449 MB / 382.1 MB Notification: Performance of SimCode: time 0.002872/0.3133, allocations: 2.087 MB / 483.8 MB, free: 2.305 MB / 382.1 MB Notification: Performance of Templates: time 0.0303/0.3436, allocations: 18.7 MB / 0.4907 GB, free: 15.8 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: 5.040179322997574]