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.001126/0.001126, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001774/0.0029, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001123/0.001123, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.00258, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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 0.9425/0.9425, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07868/1.021, allocations: 53.67 MB / 243.4 MB, free: 15.53 MB / 250.7 MB " [Timeout remaining time 179] 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 1.212e-06/1.212e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.839e-06/1.105e-05, allocations: 5.969 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.0049/0.004911, allocations: 6.518 MB / 251.2 MB, free: 7.684 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.007614, allocations: 2.498 MB / 253.7 MB, free: 5.172 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002697/0.007884, allocations: 24 kB / 253.8 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.009732, allocations: 1.983 MB / 255.7 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008164/0.01055, allocations: 0.5585 MB / 256.3 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.01187, allocations: 1.265 MB / 257.6 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007989/0.01267, allocations: 1.156 MB / 258.7 MB, free: 168 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000771/0.01344, allocations: 0.8216 MB / 259.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/0.014, allocations: 0.737 MB / 260.3 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004121/0.01441, allocations: 494.6 kB / 260.8 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.01452, allocations: 100 kB / 260.9 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005855/0.0151, allocations: 451.2 kB / 261.3 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.01521, allocations: 179.4 kB / 261.5 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.01543, allocations: 315.3 kB / 261.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009167/0.01635, allocations: 1.082 MB / 262.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.115e-05/0.01636, allocations: 0 / 262.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01636, allocations: 0 / 262.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.01638, allocations: 0 / 262.9 MB, free: 11.98 MB / 266.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.003127/0.01951, allocations: 2.365 MB / 265.2 MB, free: 9.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.01953, allocations: 16.02 kB / 265.2 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.02134, allocations: 0.7379 MB / 266 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.02151, allocations: 248.1 kB / 266.2 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/0.02157, allocations: 103 kB / 266.3 MB, free: 8.445 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.02169, allocations: 128.4 kB / 266.5 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000997/0.02269, allocations: 0.9308 MB / 267.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.02271, allocations: 4.141 kB / 267.4 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.02277, allocations: 56.38 kB / 267.4 MB, free: 7.289 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.02279, allocations: 39.92 kB / 267.5 MB, free: 7.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005055/0.0233, allocations: 432 kB / 267.9 MB, free: 6.812 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.02619, allocations: 2.65 MB / 270.6 MB, free: 4.055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007837/0.02697, allocations: 0.8095 MB / 271.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.02719, allocations: 216.4 kB / 271.6 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-05/0.02728, allocations: 56.89 kB / 271.6 MB, free: 2.973 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.02731, allocations: 43.56 kB / 271.7 MB, free: 2.922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 2.975e-06/0.02731, allocations: 3.984 kB / 271.7 MB, free: 2.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=122): time 0.004508/0.03182, allocations: 2.248 MB / 273.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.03185, allocations: 68.34 kB / 274 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.03211, allocations: 351 kB / 274.3 MB, free: 228 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.03215, allocations: 49.7 kB / 274.4 MB, free: 172 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1093/0.1414, allocations: 448.6 kB / 274.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/0.1418, allocations: 440.5 kB / 275.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.142, allocations: 218.9 kB / 275.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.44e-05/0.142, allocations: 381.4 kB / 275.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.1423, allocations: 138.9 kB / 276 MB, free: 12.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.1425, allocations: 432.9 kB / 276.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006298/0.1432, allocations: 0.6611 MB / 277.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.1432, allocations: 1.344 kB / 277.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.0009755/0.1442, allocations: 0.7473 MB / 277.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1442, allocations: 7.812 kB / 277.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.1442, allocations: 7.156 kB / 277.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006044/0.1448, allocations: 242.3 kB / 278.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006595/0.1455, allocations: 295.1 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.1473, allocations: 3.358 MB / 281.7 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.1477, allocations: 130.8 kB / 281.8 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.1477, allocations: 40.7 kB / 281.9 MB, free: 9.059 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.0001938/0.1479, allocations: 184.3 kB / 282 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-05/0.148, allocations: 85.05 kB / 282.1 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008604/0.1489, allocations: 0.6802 MB / 282.8 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.1489, allocations: 13.34 kB / 282.8 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1489, allocations: 3.156 kB / 282.8 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.1489, allocations: 8.844 kB / 282.8 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.1506, allocations: 1.232 MB / 284.1 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.1506, allocations: 1.156 kB / 284.1 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/0.151, allocations: 207.4 kB / 284.3 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.1512, allocations: 104.1 kB / 284.4 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000531/0.1517, allocations: 216.3 kB / 284.6 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.1518, allocations: 23.12 kB / 284.6 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.1532, allocations: 3.217 MB / 287.8 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1532, allocations: 2.219 kB / 287.8 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008788/0.154, allocations: 0.8749 MB / 288.7 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.1541, allocations: 22.36 kB / 288.7 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.1543, allocations: 36.09 kB / 288.8 MB, free: 5.723 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.1545, allocations: 88.59 kB / 288.8 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.1545, allocations: 25.12 kB / 288.9 MB, free: 5.719 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.1546, allocations: 128.4 kB / 289 MB, free: 5.703 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1546, allocations: 4.031 kB / 289 MB, free: 5.699 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007931/0.1554, allocations: 364.8 kB / 289.4 MB, free: 5.672 MB / 266.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.0002059/0.1556, allocations: 166.7 kB / 289.5 MB, free: 5.598 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008366/0.1564, allocations: 0.9126 MB / 290.4 MB, free: 5.312 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.25e-05/0.1565, allocations: 14.06 kB / 290.4 MB, free: 5.312 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004696/0.1569, allocations: 0.6734 MB / 291.1 MB, free: 5.047 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.1573, allocations: 331 kB / 291.4 MB, free: 4.879 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007004/0.1643, allocations: 1.81 MB / 293.2 MB, free: 4.121 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.1644, allocations: 200 kB / 293.4 MB, free: 4.043 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002902/0.1647, allocations: 135.9 kB / 293.6 MB, free: 3.988 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.1649, allocations: 175.3 kB / 293.7 MB, free: 3.941 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1649, allocations: 0 / 293.7 MB, free: 3.941 MB / 266.7 MB Notification: Performance of Templates: time 0.01267/0.1776, allocations: 11.18 MB / 304.9 MB, free: 13.66 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7054895237088203]