Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001272/0.001272, allocations: 208 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.402/1.402, allocations: 227.7 MB / 247.9 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 59.89 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2146, allocations: 50.55 MB / 410.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008439/0.223, allocations: 6.514 MB / 416.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004355/0.2274, allocations: 2.651 MB / 419.4 MB, free: 8.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003227/0.2277, allocations: 16 kB / 419.4 MB, free: 8.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00275/0.2304, allocations: 1.264 MB / 420.6 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.2317, allocations: 0.5396 MB / 421.2 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.234, allocations: 1.256 MB / 422.4 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.2351, allocations: 1.079 MB / 423.5 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.2361, allocations: 0.6961 MB / 424.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004905/0.2366, allocations: 446.3 kB / 424.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006488/0.2373, allocations: 0.5485 MB / 425.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.2374, allocations: 100 kB / 425.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007003/0.2381, allocations: 423.6 kB / 425.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002089/0.2383, allocations: 227.2 kB / 425.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004817/0.2388, allocations: 0.5209 MB / 426.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.2405, allocations: 1.533 MB / 428 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2405, allocations: 0 / 428 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2405, allocations: 0 / 428 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.2405, allocations: 0 / 428 MB, free: 15.55 MB / 350.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.004443/0.245, allocations: 1.673 MB / 429.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.245, allocations: 8.031 kB / 429.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/0.2484, allocations: 499.8 kB / 430.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007333/0.2491, allocations: 0.4944 MB / 430.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.094e-05/0.2492, allocations: 90.2 kB / 430.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.2494, allocations: 116 kB / 430.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.2513, allocations: 0.9667 MB / 431.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.2513, allocations: 0 / 431.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.2514, allocations: 47.98 kB / 431.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.2514, allocations: 28 kB / 431.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.2534, allocations: 0.9613 MB / 432.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006095/0.2595, allocations: 3.761 MB / 436.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/0.2616, allocations: 1.498 MB / 438.1 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007831/0.2624, allocations: 392.3 kB / 438.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.2626, allocations: 183.3 kB / 438.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008622/0.2634, allocations: 470.5 kB / 439.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 2.304e-06/0.2634, allocations: 0 / 439.1 MB, free: 3.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.009268/0.2727, allocations: 4.008 MB / 443.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.2728, allocations: 153.4 kB / 443.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.2733, allocations: 401.6 kB / 443.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.036e-05/0.2733, allocations: 49.7 kB / 443.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.2737, allocations: 440.9 kB / 444.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/0.274, allocations: 448.1 kB / 444.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003264/0.2744, allocations: 198.9 kB / 444.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.2746, allocations: 382.8 kB / 445.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007615/0.2753, allocations: 358.5 kB / 445.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009285/0.2762, allocations: 0.539 MB / 446.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.278, allocations: 0.9498 MB / 447 MB, free: 11.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.278, allocations: 0 / 447 MB, free: 11.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002697/0.2807, allocations: 1.374 MB / 448.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2807, allocations: 8 kB / 448.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2807, allocations: 8 kB / 448.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009169/0.2816, allocations: 353.7 kB / 448.7 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008821/0.2825, allocations: 207.7 kB / 448.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009102/0.2916, allocations: 8.494 MB / 457.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/0.2922, allocations: 43.98 kB / 457.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.448e-05/0.2923, allocations: 40 kB / 457.5 MB, free: 0.5352 MB / 366.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.0003963/0.2927, allocations: 267 kB / 457.8 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.2928, allocations: 75.53 kB / 457.9 MB, free: 196 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/0.2955, allocations: 1.297 MB / 459.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.2956, allocations: 12 kB / 459.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.2956, allocations: 8 kB / 459.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.2956, allocations: 3.984 kB / 459.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/0.2999, allocations: 2.514 MB / 461.7 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.2999, allocations: 4 kB / 461.7 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007094/0.3006, allocations: 147.8 kB / 461.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008057/0.3014, allocations: 331.2 kB / 462.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.887e-05/0.3015, allocations: 27.98 kB / 462.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008355/0.3099, allocations: 8.12 MB / 470.3 MB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.3099, allocations: 7.938 kB / 470.3 MB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/0.3133, allocations: 1.813 MB / 472.1 MB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.3136, allocations: 220.6 kB / 472.3 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.3137, allocations: 27.94 kB / 472.4 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005821/0.3143, allocations: 39.98 kB / 472.4 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.3145, allocations: 108.7 kB / 472.5 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/0.3145, allocations: 32 kB / 472.6 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003322/0.3148, allocations: 279.1 kB / 472.8 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3148, allocations: 0 / 472.8 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001067/0.3159, allocations: 319.9 kB / 473.1 MB, free: 184 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (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.0002861/0.3162, allocations: 171 kB / 473.3 MB, free: 4 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002779/0.319, allocations: 1.553 MB / 474.9 MB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.319, allocations: 1.062 kB / 474.9 MB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.3207, allocations: 1.095 MB / 476 MB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/0.3212, allocations: 83.78 kB / 476 MB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.3248, allocations: 1.98 MB / 478 MB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007096/0.3255, allocations: 1.021 MB / 479 MB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004207/0.3259, allocations: 102.2 kB / 479.1 MB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.3261, allocations: 59.42 kB / 479.2 MB, free: 9.934 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3261, allocations: 4 kB / 479.2 MB, free: 9.93 MB / 398.1 MB Notification: Performance of Templates: time 0.02101/0.3471, allocations: 11.42 MB / 490.6 MB, free: 14.53 MB / 414.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches