Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00106/0.00106, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001542/0.002602, 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.0009361/0.0009361, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001209/0.002145, 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.9237/0.9237, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07733/1.001, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.456e-05, allocations: 9.688 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.00523/0.005245, allocations: 6.393 MB / 251.1 MB, free: 7.797 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002827/0.008072, allocations: 2.627 MB / 253.7 MB, free: 5.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.008345, allocations: 23.94 kB / 253.7 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.009724, allocations: 1.345 MB / 255.1 MB, free: 3.785 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007417/0.01047, allocations: 0.5354 MB / 255.6 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.01174, allocations: 1.217 MB / 256.8 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007787/0.01252, allocations: 1.106 MB / 257.9 MB, free: 0.918 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007258/0.01324, allocations: 0.7741 MB / 258.7 MB, free: 120 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005401/0.01378, allocations: 0.6929 MB / 259.4 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000392/0.01418, allocations: 430.8 kB / 259.8 MB, free: 15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.169e-05/0.01427, allocations: 99.94 kB / 259.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004998/0.01477, allocations: 423.3 kB / 260.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.01488, allocations: 167.4 kB / 260.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.0151, allocations: 299.4 kB / 260.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008475/0.01594, allocations: 0.9963 MB / 261.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.01595, allocations: 0 / 261.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01595, allocations: 0 / 261.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.01597, allocations: 0 / 261.8 MB, free: 13.03 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.002317/0.01828, allocations: 1.929 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.01831, allocations: 11.98 kB / 263.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.01998, allocations: 0.6718 MB / 264.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.02035, allocations: 308.9 kB / 264.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.0204, allocations: 86.59 kB / 264.8 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.0205, allocations: 120.1 kB / 264.9 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.02115, allocations: 0.705 MB / 265.6 MB, free: 9.086 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.02118, allocations: 3.953 kB / 265.6 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.227e-05/0.02123, allocations: 44 kB / 265.7 MB, free: 9.039 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.02124, allocations: 28 kB / 265.7 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.02167, allocations: 376.1 kB / 266.1 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.0242, allocations: 2.319 MB / 268.4 MB, free: 6.191 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006263/0.02483, allocations: 0.6059 MB / 269 MB, free: 5.574 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.02504, allocations: 212.4 kB / 269.2 MB, free: 5.363 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.473e-05/0.02511, allocations: 36.98 kB / 269.2 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003095/0.02542, allocations: 401.6 kB / 269.6 MB, free: 4.898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 1.893e-06/0.02542, allocations: 4 kB / 269.6 MB, free: 4.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.004231/0.02965, allocations: 2.761 MB / 272.4 MB, free: 2.094 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.02969, allocations: 90.11 kB / 272.5 MB, free: 1.988 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.02988, allocations: 347.1 kB / 272.8 MB, free: 1.637 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.02992, allocations: 45.7 kB / 272.9 MB, free: 1.586 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.03007, allocations: 409.2 kB / 273.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.03023, allocations: 368.8 kB / 273.6 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.03038, allocations: 186.8 kB / 273.8 MB, free: 0.625 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.03048, allocations: 382.6 kB / 274.2 MB, free: 248 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.03061, allocations: 106.6 kB / 274.3 MB, free: 144 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1075/0.1381, allocations: 361.6 kB / 274.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005486/0.1386, allocations: 0.5026 MB / 275.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1386, allocations: 1.25 kB / 275.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0008438/0.1395, allocations: 0.6375 MB / 275.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.1395, allocations: 8.031 kB / 275.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.1395, allocations: 4.625 kB / 275.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/0.14, allocations: 209.4 kB / 276 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000531/0.1405, allocations: 240.8 kB / 276.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.1425, allocations: 4.501 MB / 280.7 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.1428, allocations: 43.41 kB / 280.8 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.1429, allocations: 29.3 kB / 280.8 MB, free: 9.785 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * 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.0001735/0.1431, allocations: 173.2 kB / 281 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.254e-05/0.1431, allocations: 74.23 kB / 281 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007246/0.1439, allocations: 0.5969 MB / 281.6 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1439, allocations: 11.06 kB / 281.6 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.1439, allocations: 5.078 kB / 281.6 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.1439, allocations: 4.828 kB / 281.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.1452, allocations: 1.077 MB / 282.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1452, allocations: 5.125 kB / 282.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.1456, allocations: 173.5 kB / 282.9 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.1457, allocations: 80.34 kB / 283 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004022/0.1461, allocations: 208.2 kB / 283.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.1462, allocations: 24.27 kB / 283.2 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.148, allocations: 4.514 MB / 287.7 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.148, allocations: 1.906 kB / 287.7 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008762/0.1489, allocations: 0.8222 MB / 288.5 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.1489, allocations: 22.22 kB / 288.6 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.1491, allocations: 34.98 kB / 288.6 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.1492, allocations: 79.88 kB / 288.7 MB, free: 5.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.1493, allocations: 22.12 kB / 288.7 MB, free: 5.324 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001169/0.1494, allocations: 133.7 kB / 288.8 MB, free: 5.305 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1494, allocations: 2.625 kB / 288.8 MB, free: 5.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006702/0.1501, allocations: 270 kB / 289.1 MB, free: 5.305 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_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 76 * 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.0002235/0.1503, allocations: 154.6 kB / 289.2 MB, free: 5.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008674/0.1512, allocations: 0.9301 MB / 290.2 MB, free: 4.832 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.291e-05/0.1512, allocations: 13.33 kB / 290.2 MB, free: 4.832 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006002/0.1518, allocations: 0.7737 MB / 291 MB, free: 4.457 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.1522, allocations: 445.2 kB / 291.4 MB, free: 4.125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00625/0.1584, allocations: 1.675 MB / 293.1 MB, free: 3.379 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.1585, allocations: 192.1 kB / 293.3 MB, free: 3.301 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.1587, allocations: 87.33 kB / 293.3 MB, free: 3.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.1589, allocations: 140.3 kB / 293.5 MB, free: 3.223 MB / 266.7 MB Notification: Performance of SimCode: time 8.91e-07/0.1589, allocations: 0 / 293.5 MB, free: 3.223 MB / 266.7 MB Notification: Performance of Templates: time 0.01231/0.1712, allocations: 10.53 MB / 304 MB, free: 14.33 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.7667223401367664]