Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.0008043/0.0008043, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.001972, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007283/0.0007283, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001738, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9134/0.9134, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1526/1.066, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.294e-05, allocations: 2.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.01351/0.01354, allocations: 6.303 MB / 228.3 MB, free: 9.719 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007594/0.02113, allocations: 2.604 MB / 230.9 MB, free: 7.102 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007174/0.02185, allocations: 23.94 kB / 230.9 MB, free: 7.078 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.02383, allocations: 1.341 MB / 232.3 MB, free: 5.73 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.02526, allocations: 0.5548 MB / 232.8 MB, free: 5.172 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.02714, allocations: 1.202 MB / 234 MB, free: 3.965 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.02841, allocations: 1.129 MB / 235.1 MB, free: 2.832 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.02947, allocations: 0.7702 MB / 235.9 MB, free: 2.035 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000845/0.03031, allocations: 0.7085 MB / 236.6 MB, free: 1.324 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005832/0.0309, allocations: 430.8 kB / 237 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.03104, allocations: 104 kB / 237.1 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008243/0.03187, allocations: 415.3 kB / 237.5 MB, free: 404 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.032, allocations: 175.4 kB / 237.7 MB, free: 228 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.03227, allocations: 303.4 kB / 238 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.03339, allocations: 0.9885 MB / 239 MB, free: 14.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.677e-05/0.03341, allocations: 0 / 239 MB, free: 14.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.03341, allocations: 0 / 239 MB, free: 14.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.03343, allocations: 0 / 239 MB, free: 14.93 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.002768/0.0362, allocations: 1.933 MB / 240.9 MB, free: 12.95 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.03623, allocations: 8.031 kB / 240.9 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/0.03826, allocations: 0.8317 MB / 241.8 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.03871, allocations: 299.8 kB / 242.1 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.236e-05/0.03876, allocations: 86.67 kB / 242.2 MB, free: 11.71 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.03887, allocations: 123.9 kB / 242.3 MB, free: 11.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000761/0.03963, allocations: 0.7371 MB / 243 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.03966, allocations: 0 / 243 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.645e-05/0.03971, allocations: 48 kB / 243.1 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.03973, allocations: 28 kB / 243.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.0402, allocations: 401 kB / 243.5 MB, free: 10.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002888/0.04309, allocations: 2.374 MB / 245.8 MB, free: 7.836 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007688/0.04386, allocations: 0.6626 MB / 246.5 MB, free: 7.16 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002543/0.04411, allocations: 231.4 kB / 246.7 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.984e-05/0.04419, allocations: 32.98 kB / 246.8 MB, free: 6.898 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000348/0.04454, allocations: 397.8 kB / 247.2 MB, free: 6.473 MB / 250.7 MB Notification: Performance of pre-optimization done (n=98): time 2.725e-06/0.04454, allocations: 0 / 247.2 MB, free: 6.473 MB / 250.7 MB Notification: Performance of matching and sorting (n=105): time 0.004228/0.04877, allocations: 2.539 MB / 249.7 MB, free: 3.898 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.04883, allocations: 90.11 kB / 249.8 MB, free: 3.789 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.04908, allocations: 351.1 kB / 250.1 MB, free: 3.438 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.04912, allocations: 41.7 kB / 250.2 MB, free: 3.391 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.04936, allocations: 436.9 kB / 250.6 MB, free: 2.957 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.04956, allocations: 376.7 kB / 251 MB, free: 2.586 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/0.04974, allocations: 190.8 kB / 251.1 MB, free: 2.391 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.04985, allocations: 378.6 kB / 251.5 MB, free: 2.012 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.04998, allocations: 114.6 kB / 251.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.05024, allocations: 401.2 kB / 252 MB, free: 1.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/0.0507, allocations: 0.568 MB / 252.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.05071, allocations: 0 / 252.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0006999/0.05141, allocations: 0.6728 MB / 253.3 MB, free: 84 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.05142, allocations: 8 kB / 253.3 MB, free: 76 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.05143, allocations: 4.406 kB / 253.3 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004572/0.05189, allocations: 226.3 kB / 253.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.05239, allocations: 247.6 kB / 253.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/0.05593, allocations: 4.489 MB / 258.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004942/0.05642, allocations: 48.12 kB / 258.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.05648, allocations: 32.08 kB / 258.3 MB, free: 10.77 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002681/0.05674, allocations: 188.3 kB / 258.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.05685, allocations: 71.94 kB / 258.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008183/0.05767, allocations: 0.6025 MB / 259.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.05767, allocations: 12 kB / 259.2 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.05768, allocations: 11.94 kB / 259.2 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.05769, allocations: 3.984 kB / 259.2 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.05911, allocations: 1.089 MB / 260.3 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.05912, allocations: 0 / 260.3 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.05951, allocations: 171.7 kB / 260.4 MB, free: 8.551 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.05966, allocations: 79.53 kB / 260.5 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000418/0.06007, allocations: 226.5 kB / 260.7 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.06011, allocations: 16 kB / 260.8 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.06269, allocations: 4.5 MB / 265.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.06269, allocations: 0 / 265.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008615/0.06355, allocations: 0.8412 MB / 266.1 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.06362, allocations: 20 kB / 266.1 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.06384, allocations: 31.98 kB / 266.2 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.06395, allocations: 84.72 kB / 266.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.06398, allocations: 20 kB / 266.3 MB, free: 2.434 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.06409, allocations: 132.7 kB / 266.4 MB, free: 2.301 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06409, allocations: 0 / 266.4 MB, free: 2.301 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007496/0.06484, allocations: 275.9 kB / 266.7 MB, free: 2.031 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,4,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002242/0.06507, allocations: 152.2 kB / 266.8 MB, free: 1.875 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009138/0.06598, allocations: 0.9441 MB / 267.7 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.479e-05/0.06601, allocations: 20.44 kB / 267.8 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005979/0.0666, allocations: 0.7791 MB / 268.5 MB, free: 60 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.06719, allocations: 411.9 kB / 268.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006785/0.07398, allocations: 1.779 MB / 270.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.07414, allocations: 197 kB / 270.9 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002515/0.07439, allocations: 93.7 kB / 271 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.07459, allocations: 151.3 kB / 271.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of SimCode: time 1.643e-06/0.07459, allocations: 0 / 271.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of Templates: time 0.01512/0.08971, allocations: 10.23 MB / 281.4 MB, free: 3.094 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.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.8582473006099463]