Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007474/0.0007474, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.001804, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00074/0.00074, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009351/0.001675, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.015/1.015, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09079/1.106, allocations: 53.86 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.208e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008405/0.008427, allocations: 6.382 MB / 251.6 MB, free: 7.129 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00528/0.01371, allocations: 2.631 MB / 254.2 MB, free: 4.488 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000473/0.01418, allocations: 23.94 kB / 254.2 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002834/0.01701, allocations: 1.345 MB / 255.6 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.01838, allocations: 0.5393 MB / 256.1 MB, free: 2.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.02064, allocations: 1.206 MB / 257.3 MB, free: 1.359 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.02168, allocations: 1.106 MB / 258.4 MB, free: 256 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007654/0.02245, allocations: 0.7702 MB / 259.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005477/0.023, allocations: 0.7047 MB / 259.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004144/0.02341, allocations: 422.8 kB / 260.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.421e-05/0.02351, allocations: 100 kB / 260.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006165/0.02412, allocations: 419.3 kB / 260.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.02423, allocations: 175.4 kB / 261 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.02444, allocations: 295.4 kB / 261.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008833/0.02533, allocations: 0.9886 MB / 262.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.02534, allocations: 0 / 262.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.02534, allocations: 0 / 262.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.02535, allocations: 4 kB / 262.3 MB, free: 12.37 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.002267/0.02762, allocations: 1.929 MB / 264.2 MB, free: 10.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.02765, allocations: 8.625 kB / 264.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.02932, allocations: 0.6679 MB / 264.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.02969, allocations: 320.8 kB / 265.2 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.537e-05/0.02974, allocations: 86.53 kB / 265.3 MB, free: 9.285 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.794e-05/0.02983, allocations: 120.1 kB / 265.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/0.03048, allocations: 0.6972 MB / 266.1 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.0305, allocations: 3.953 kB / 266.1 MB, free: 8.422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.03055, allocations: 48 kB / 266.1 MB, free: 8.375 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.03057, allocations: 24 kB / 266.2 MB, free: 8.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.031, allocations: 376.1 kB / 266.5 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/0.03362, allocations: 2.331 MB / 268.9 MB, free: 5.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/0.03424, allocations: 0.6022 MB / 269.5 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.03452, allocations: 216.4 kB / 269.7 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.919e-05/0.03459, allocations: 32.98 kB / 269.7 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003251/0.03492, allocations: 405.6 kB / 270.1 MB, free: 4.227 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 1.894e-06/0.03492, allocations: 0 / 270.1 MB, free: 4.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.004317/0.03924, allocations: 2.761 MB / 272.9 MB, free: 1.426 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.03928, allocations: 90.11 kB / 273 MB, free: 1.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.03948, allocations: 351.1 kB / 273.3 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.03952, allocations: 41.7 kB / 273.3 MB, free: 0.918 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.03967, allocations: 413.2 kB / 273.7 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.03983, allocations: 364.8 kB / 274.1 MB, free: 152 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.04003, allocations: 186.9 kB / 274.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.04017, allocations: 378.6 kB / 274.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.04037, allocations: 106.6 kB / 274.8 MB, free: 15.47 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.04072, allocations: 359.2 kB / 275.1 MB, free: 15.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006441/0.04136, allocations: 0.5092 MB / 275.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.04137, allocations: 0 / 275.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001014/0.04238, allocations: 0.6379 MB / 276.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.0424, allocations: 8 kB / 276.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.04241, allocations: 7.938 kB / 276.3 MB, free: 13.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006036/0.04301, allocations: 221.7 kB / 276.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/0.04372, allocations: 235.7 kB / 276.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/0.047, allocations: 4.511 MB / 281.2 MB, free: 8.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.04736, allocations: 32 kB / 281.3 MB, free: 8.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.535e-05/0.04742, allocations: 31.98 kB / 281.3 MB, free: 8.527 MB / 282.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.0002139/0.04763, allocations: 168.4 kB / 281.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.04774, allocations: 83.91 kB / 281.5 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000997/0.04874, allocations: 0.5985 MB / 282.1 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.04874, allocations: 12 kB / 282.1 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.04875, allocations: 8 kB / 282.2 MB, free: 7.637 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.04877, allocations: 7.969 kB / 282.2 MB, free: 7.629 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.05047, allocations: 1.069 MB / 283.2 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.05048, allocations: 4 kB / 283.2 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.05085, allocations: 171.8 kB / 283.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.05097, allocations: 67.72 kB / 283.5 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003773/0.05135, allocations: 222.4 kB / 283.7 MB, free: 6.051 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.05138, allocations: 23.98 kB / 283.7 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.05353, allocations: 4.517 MB / 288.2 MB, free: 1.258 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.05353, allocations: 3.938 kB / 288.2 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000773/0.05431, allocations: 0.8295 MB / 289.1 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.05435, allocations: 19.98 kB / 289.1 MB, free: 376 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.05454, allocations: 28 kB / 289.1 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/0.05463, allocations: 80.78 kB / 289.2 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.05465, allocations: 23.98 kB / 289.2 MB, free: 244 kB / 282.7 MB Notification: Performance of sorting global known variables: time 9.072e-05/0.05474, allocations: 128.7 kB / 289.3 MB, free: 108 kB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05474, allocations: 0 / 289.3 MB, free: 108 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.1066/0.1614, allocations: 269.4 kB / 289.6 MB, free: 25.29 MB / 282.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.0002558/0.1616, allocations: 153.7 kB / 289.7 MB, free: 25.22 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.1626, allocations: 0.9241 MB / 290.7 MB, free: 24.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-05/0.1627, allocations: 12.7 kB / 290.7 MB, free: 24.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005901/0.1632, allocations: 0.7741 MB / 291.5 MB, free: 24.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.1637, allocations: 443.5 kB / 291.9 MB, free: 24.18 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006458/0.1701, allocations: 1.673 MB / 293.6 MB, free: 23.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.1703, allocations: 191.5 kB / 293.8 MB, free: 23.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002232/0.1705, allocations: 86.86 kB / 293.8 MB, free: 23.37 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.1707, allocations: 144.5 kB / 294 MB, free: 23.32 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1707, allocations: 1.25 kB / 294 MB, free: 23.32 MB / 282.7 MB Notification: Performance of Templates: time 0.01338/0.1841, allocations: 10.52 MB / 304.5 MB, free: 21.64 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.871027938090265]