Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007365/0.0007365, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.001762, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006424/0.0006424, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009009/0.001543, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8487/0.8487, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1304/0.9791, allocations: 52.49 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163e-05/1.28e-05, allocations: 5.969 kB / 239.8 MB, free: 6.355 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004843/0.004856, allocations: 6.494 MB / 246.2 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.007112, allocations: 2.428 MB / 248.7 MB, free: 13.42 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.007318, allocations: 20 kB / 248.7 MB, free: 13.4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.009193, allocations: 1.988 MB / 250.7 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008172/0.01001, allocations: 0.7019 MB / 251.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.01111, allocations: 1.138 MB / 252.5 MB, free: 9.566 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007933/0.0119, allocations: 1.163 MB / 253.7 MB, free: 8.398 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007721/0.01268, allocations: 0.8255 MB / 254.5 MB, free: 7.543 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005592/0.01323, allocations: 0.7292 MB / 255.2 MB, free: 6.812 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.01365, allocations: 0.4908 MB / 255.7 MB, free: 6.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.01375, allocations: 100 kB / 255.8 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005164/0.01426, allocations: 423.3 kB / 256.2 MB, free: 5.809 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.01437, allocations: 187.3 kB / 256.4 MB, free: 5.625 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.01458, allocations: 311.4 kB / 256.7 MB, free: 5.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008618/0.01544, allocations: 1.062 MB / 257.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.01545, allocations: 4 kB / 257.8 MB, free: 4.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.01545, allocations: 0 / 257.8 MB, free: 4.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.01547, allocations: 0 / 257.8 MB, free: 4.25 MB / 250.7 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.003329/0.0188, allocations: 2.346 MB / 260.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.523e-05/0.01883, allocations: 16.02 kB / 260.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.02089, allocations: 0.7769 MB / 260.9 MB, free: 1.062 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.02106, allocations: 240.3 kB / 261.2 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.02111, allocations: 94.95 kB / 261.3 MB, free: 0.707 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.02123, allocations: 128.4 kB / 261.4 MB, free: 0.582 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008615/0.0221, allocations: 0.9425 MB / 262.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.02212, allocations: 8.141 kB / 262.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-05/0.02218, allocations: 48.38 kB / 262.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.0222, allocations: 35.94 kB / 262.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.02272, allocations: 428.1 kB / 262.8 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002852/0.02557, allocations: 2.65 MB / 265.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007316/0.0263, allocations: 0.8057 MB / 266.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.02653, allocations: 221.8 kB / 266.5 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.121e-05/0.02661, allocations: 36.98 kB / 266.5 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.02663, allocations: 43.56 kB / 266.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 2.214e-06/0.02664, allocations: 0 / 266.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=122): time 0.002948/0.02958, allocations: 1.822 MB / 268.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.02961, allocations: 68.34 kB / 268.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.0298, allocations: 343 kB / 268.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.02984, allocations: 45.7 kB / 268.9 MB, free: 8.891 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.02999, allocations: 460.4 kB / 269.3 MB, free: 8.434 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.03017, allocations: 436.2 kB / 269.7 MB, free: 8.004 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.03036, allocations: 219.4 kB / 269.9 MB, free: 7.781 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.03044, allocations: 378.6 kB / 270.3 MB, free: 7.402 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.0306, allocations: 135.9 kB / 270.5 MB, free: 7.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.03086, allocations: 437.3 kB / 270.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.03135, allocations: 0.662 MB / 271.5 MB, free: 5.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.03136, allocations: 4 kB / 271.5 MB, free: 5.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.0007014/0.03206, allocations: 0.7367 MB / 272.3 MB, free: 5.227 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.03208, allocations: 12 kB / 272.3 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.03209, allocations: 8 kB / 272.3 MB, free: 5.207 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004954/0.03258, allocations: 244.2 kB / 272.5 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/0.03315, allocations: 291.6 kB / 272.8 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.03495, allocations: 3.355 MB / 276.2 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.03525, allocations: 135 kB / 276.3 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.508e-05/0.03531, allocations: 48 kB / 276.4 MB, free: 0.9805 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (143): * Single equations (assignments): 141 * 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.0001617/0.03547, allocations: 177.5 kB / 276.5 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.162e-05/0.03555, allocations: 79.94 kB / 276.6 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006896/0.03624, allocations: 0.6842 MB / 277.3 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.03625, allocations: 15.94 kB / 277.3 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.03625, allocations: 7.938 kB / 277.3 MB, free: 0 / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/0.03627, allocations: 8.031 kB / 277.3 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.03759, allocations: 1.226 MB / 278.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.0376, allocations: 0 / 278.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.038, allocations: 207.7 kB / 278.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.03814, allocations: 99.25 kB / 278.9 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/0.03856, allocations: 213.5 kB / 279.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.0386, allocations: 23.98 kB / 279.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.04012, allocations: 3.216 MB / 282.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.04013, allocations: 8.062 kB / 282.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008802/0.04101, allocations: 0.8659 MB / 283.2 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.04106, allocations: 27.98 kB / 283.2 MB, free: 9.859 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.04129, allocations: 36.03 kB / 283.2 MB, free: 9.824 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/0.04139, allocations: 84.77 kB / 283.3 MB, free: 9.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.04142, allocations: 23.98 kB / 283.3 MB, free: 9.715 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.057e-05/0.04151, allocations: 140.7 kB / 283.5 MB, free: 9.578 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04151, allocations: 0 / 283.5 MB, free: 9.578 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005515/0.04206, allocations: 363.2 kB / 283.8 MB, free: 9.223 MB / 282.7 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 (103): * Single equations (assignments): 101 * 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.0001791/0.04224, allocations: 156.2 kB / 284 MB, free: 9.062 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007668/0.043, allocations: 0.901 MB / 284.9 MB, free: 8.141 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.041e-05/0.04302, allocations: 17.38 kB / 284.9 MB, free: 8.125 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004909/0.04351, allocations: 0.6713 MB / 285.6 MB, free: 7.422 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.04389, allocations: 330.6 kB / 285.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007517/0.05141, allocations: 1.92 MB / 287.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.05154, allocations: 199.8 kB / 288 MB, free: 4.879 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003305/0.05187, allocations: 142.6 kB / 288.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.05212, allocations: 167.3 kB / 288.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.05212, allocations: 4 kB / 288.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of Templates: time 0.01305/0.06517, allocations: 10.9 MB / 299.2 MB, free: 9.781 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.633232409134507]