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.001294/0.001294, allocations: 75.44 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001263/0.001263, allocations: 149.5 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.396/1.396, allocations: 173.3 MB / 200.4 MB, free: 12.85 MB / 190.1 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.593e-06/1.593e-06, allocations: 0 / 318.9 MB, free: 3.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.092e-05/2.251e-05, allocations: 2.281 kB / 318.9 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.006343/0.006365, allocations: 5.935 MB / 324.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004793/0.01116, allocations: 2.265 MB / 327.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005554/0.01171, allocations: 23.34 kB / 327.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004416/0.01613, allocations: 1.838 MB / 329 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.01825, allocations: 0.7036 MB / 329.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002573/0.02082, allocations: 1.122 MB / 330.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.02241, allocations: 1.156 MB / 332 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.02381, allocations: 0.8348 MB / 332.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.02486, allocations: 0.6932 MB / 333.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000685/0.02554, allocations: 495.5 kB / 334 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.02568, allocations: 99.78 kB / 334.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000932/0.02661, allocations: 400 kB / 334.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.02683, allocations: 251.1 kB / 334.7 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004547/0.02729, allocations: 394 kB / 335.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.02954, allocations: 1.701 MB / 336.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.02954, allocations: 3.938 kB / 336.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02954, allocations: 1.375 kB / 336.8 MB, free: 8.266 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.02956, allocations: 4 kB / 336.8 MB, free: 8.262 MB / 302.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.006421/0.03598, allocations: 1.951 MB / 338.8 MB, free: 6.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.03602, allocations: 10.14 kB / 338.8 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003656/0.03968, allocations: 0.5155 MB / 339.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.04008, allocations: 251.9 kB / 339.5 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.04018, allocations: 95.86 kB / 339.6 MB, free: 6.461 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/0.04041, allocations: 131.1 kB / 339.8 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.043, allocations: 1.322 MB / 341.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.04304, allocations: 4.141 kB / 341.1 MB, free: 5.258 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.04316, allocations: 56.38 kB / 341.1 MB, free: 5.203 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.04319, allocations: 39.88 kB / 341.2 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.04588, allocations: 1.189 MB / 342.4 MB, free: 3.969 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006354/0.05223, allocations: 3.324 MB / 345.7 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.05445, allocations: 1.146 MB / 346.8 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009704/0.05542, allocations: 456 kB / 347.3 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.05554, allocations: 28.98 kB / 347.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.803e-05/0.05561, allocations: 43.56 kB / 347.4 MB, free: 14.86 MB / 318.1 MB Notification: Performance of pre-optimization done (n=122): time 2.945e-06/0.05561, allocations: 0 / 347.4 MB, free: 14.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=125): time 0.012/0.06761, allocations: 3.552 MB / 350.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/0.0677, allocations: 94.05 kB / 351 MB, free: 11.17 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000501/0.0682, allocations: 401.2 kB / 351.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.894e-05/0.06828, allocations: 45.7 kB / 351.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.06862, allocations: 464.6 kB / 351.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003869/0.06901, allocations: 436.2 kB / 352.3 MB, free: 9.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003822/0.06939, allocations: 231.5 kB / 352.5 MB, free: 9.594 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.06959, allocations: 374.8 kB / 352.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.07077, allocations: 439.8 kB / 353.3 MB, free: 8.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.0722, allocations: 0.7169 MB / 354.1 MB, free: 7.965 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002586/0.07478, allocations: 1.179 MB / 355.2 MB, free: 6.691 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.07479, allocations: 7.938 kB / 355.2 MB, free: 6.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003382/0.07817, allocations: 1.463 MB / 356.7 MB, free: 5.207 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.0782, allocations: 11.98 kB / 356.7 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.07822, allocations: 8 kB / 356.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000591/0.07881, allocations: 200 kB / 356.9 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.08014, allocations: 291.5 kB / 357.2 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004684/0.08483, allocations: 4.075 MB / 361.3 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009794/0.08581, allocations: 79.94 kB / 361.4 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-05/0.0859, allocations: 51.98 kB / 361.4 MB, free: 312 kB / 318.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.000471/0.08637, allocations: 269.5 kB / 361.7 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.08653, allocations: 67.62 kB / 361.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003353/0.08989, allocations: 1.343 MB / 363.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.0899, allocations: 12 kB / 363.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.08991, allocations: 4 kB / 363.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.08992, allocations: 3.984 kB / 363.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00481/0.09473, allocations: 2.182 MB / 365.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.09473, allocations: 0 / 365.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.09579, allocations: 215.7 kB / 365.5 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/0.09626, allocations: 173.7 kB / 365.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.325e-05/0.09633, allocations: 27.98 kB / 365.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004274/0.1006, allocations: 3.893 MB / 369.6 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.1006, allocations: 7.969 kB / 369.6 MB, free: 7.836 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004378/0.105, allocations: 1.865 MB / 371.5 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.1054, allocations: 155.4 kB / 371.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.1055, allocations: 23.95 kB / 371.6 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000743/0.1062, allocations: 64.02 kB / 371.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.1064, allocations: 96.81 kB / 371.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.828e-05/0.1065, allocations: 43.92 kB / 371.8 MB, free: 5.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003111/0.1068, allocations: 255.2 kB / 372.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1068, allocations: 0 / 372.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001191/0.108, allocations: 299.9 kB / 372.4 MB, free: 5.02 MB / 334.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.000342/0.1084, allocations: 182.9 kB / 372.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003286/0.1117, allocations: 1.391 MB / 373.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1117, allocations: 0 / 373.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.1133, allocations: 0.8118 MB / 374.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.1139, allocations: 65.5 kB / 374.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.1182, allocations: 1.905 MB / 376.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.1186, allocations: 416.3 kB / 377.1 MB, free: 124 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006184/0.1192, allocations: 150.7 kB / 377.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.1195, allocations: 80.44 kB / 377.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of SimCode: time 9.41e-07/0.1195, allocations: 0 / 377.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of Templates: time 0.02088/0.1404, allocations: 9.983 MB / 387.3 MB, free: 6.027 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.717249818146229]