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.001826/0.001826, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.002301/0.002301, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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 1.421/1.421, allocations: 177.2 MB / 204.9 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001558/0.001558, allocations: 52.23 kB / 325.6 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.08907, allocations: 53.34 MB / 378.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008198/0.09727, allocations: 5.841 MB / 384.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004576/0.1018, allocations: 2.476 MB / 387.2 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004596/0.1023, allocations: 19.94 kB / 387.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003032/0.1053, allocations: 1.247 MB / 388.5 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.1066, allocations: 0.5202 MB / 389 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.1091, allocations: 1.191 MB / 390.2 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.1102, allocations: 1.067 MB / 391.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.1113, allocations: 0.7779 MB / 392 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.1119, allocations: 458.3 kB / 392.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00066/0.1125, allocations: 489.7 kB / 393 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.1127, allocations: 96 kB / 393.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007095/0.1134, allocations: 399.6 kB / 393.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.1136, allocations: 235.1 kB / 393.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004402/0.114, allocations: 437.9 kB / 394.1 MB, free: 412 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.1158, allocations: 1.537 MB / 395.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.1158, allocations: 0 / 395.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1158, allocations: 4 kB / 395.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1158, allocations: 0 / 395.7 MB, free: 14.86 MB / 366.1 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.004432/0.1202, allocations: 1.688 MB / 397.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1202, allocations: 8.031 kB / 397.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003412/0.1237, allocations: 479.8 kB / 397.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/0.1244, allocations: 449.2 kB / 398.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.048e-05/0.1244, allocations: 86.22 kB / 398.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.1246, allocations: 112 kB / 398.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.1265, allocations: 1.025 MB / 399.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.1265, allocations: 4 kB / 399.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.1267, allocations: 44 kB / 399.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.1267, allocations: 28 kB / 399.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.1287, allocations: 0.9496 MB / 400.5 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005592/0.1343, allocations: 2.94 MB / 403.4 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.1361, allocations: 0.8173 MB / 404.3 MB, free: 5.996 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007979/0.1369, allocations: 392.3 kB / 404.6 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.137, allocations: 36.97 kB / 404.7 MB, free: 5.574 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009162/0.1379, allocations: 0.5097 MB / 405.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.525e-06/0.1379, allocations: 0 / 405.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009455/0.1473, allocations: 3.699 MB / 408.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.551e-05/0.1474, allocations: 149.5 kB / 409 MB, free: 1.109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000449/0.1479, allocations: 385.5 kB / 409.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.436e-05/0.1479, allocations: 49.7 kB / 409.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.1483, allocations: 437 kB / 409.9 MB, free: 244 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003623/0.1486, allocations: 444.3 kB / 410.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003203/0.149, allocations: 214.8 kB / 410.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.1491, allocations: 378.7 kB / 410.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007569/0.1499, allocations: 346.5 kB / 411.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009499/0.1509, allocations: 0.5775 MB / 411.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.1526, allocations: 0.931 MB / 412.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.1526, allocations: 4 kB / 412.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002744/0.1553, allocations: 1.359 MB / 414.1 MB, free: 11.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1554, allocations: 11.88 kB / 414.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1554, allocations: 11.98 kB / 414.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000905/0.1563, allocations: 349.7 kB / 414.5 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009083/0.1572, allocations: 203.7 kB / 414.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008507/0.1657, allocations: 7.898 MB / 422.6 MB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006925/0.1664, allocations: 43.98 kB / 422.6 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.488e-05/0.1665, allocations: 43.98 kB / 422.7 MB, free: 2.898 MB / 382.1 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 (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004171/0.1669, allocations: 261.7 kB / 422.9 MB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.167, allocations: 67.7 kB / 423 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002763/0.1698, allocations: 1.285 MB / 424.3 MB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.1698, allocations: 16 kB / 424.3 MB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1698, allocations: 4 kB / 424.3 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.1698, allocations: 11.97 kB / 424.3 MB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004189/0.174, allocations: 2.202 MB / 426.5 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.174, allocations: 4 kB / 426.5 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/0.1747, allocations: 151.8 kB / 426.6 MB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008501/0.1756, allocations: 323.4 kB / 427 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.659e-05/0.1756, allocations: 28 kB / 427 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008267/0.1839, allocations: 7.534 MB / 434.5 MB, free: 6.516 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.1839, allocations: 4 kB / 434.5 MB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003486/0.1874, allocations: 1.802 MB / 436.3 MB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.1877, allocations: 147.5 kB / 436.5 MB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.14e-05/0.1878, allocations: 24 kB / 436.5 MB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005392/0.1883, allocations: 35.98 kB / 436.5 MB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.1885, allocations: 116.7 kB / 436.6 MB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/0.1886, allocations: 35.98 kB / 436.7 MB, free: 4.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003148/0.1889, allocations: 255.2 kB / 436.9 MB, free: 4.066 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1889, allocations: 0 / 436.9 MB, free: 4.066 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001171/0.1901, allocations: 319.9 kB / 437.2 MB, free: 3.754 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,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 (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000288/0.1904, allocations: 183 kB / 437.4 MB, free: 3.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002778/0.1932, allocations: 1.541 MB / 439 MB, free: 1.969 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1932, allocations: 4 kB / 439 MB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001729/0.1949, allocations: 1.108 MB / 440.1 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.1954, allocations: 65.48 kB / 440.1 MB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.199, allocations: 1.936 MB / 442.1 MB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.1994, allocations: 436 kB / 442.5 MB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003879/0.1998, allocations: 98.02 kB / 442.6 MB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.2, allocations: 64.47 kB / 442.7 MB, free: 14.14 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2, allocations: 0 / 442.7 MB, free: 14.14 MB / 414.1 MB Notification: Performance of Templates: time 0.03122/0.2312, allocations: 11.17 MB / 453.8 MB, free: 3.051 MB / 414.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.969008274027146]