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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2782, allocations: 50.54 MB / 409.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007105/0.2853, allocations: 6.486 MB / 415.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004082/0.2894, allocations: 2.639 MB / 418.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003409/0.2898, allocations: 16 kB / 418.4 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002437/0.2922, allocations: 1.267 MB / 419.7 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.2933, allocations: 0.5435 MB / 420.2 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.2953, allocations: 1.245 MB / 421.4 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009489/0.2963, allocations: 1.079 MB / 422.5 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.2974, allocations: 0.9029 MB / 423.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004112/0.2978, allocations: 442.4 kB / 423.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000555/0.2984, allocations: 0.5446 MB / 424.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.2985, allocations: 99.94 kB / 424.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006807/0.2992, allocations: 419.7 kB / 424.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.2993, allocations: 231.2 kB / 425.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003899/0.2997, allocations: 0.5286 MB / 425.7 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.3011, allocations: 1.52 MB / 427.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3011, allocations: 0 / 427.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3011, allocations: 0 / 427.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.3011, allocations: 4 kB / 427.2 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.003876/0.305, allocations: 1.643 MB / 428.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.305, allocations: 8.031 kB / 428.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003142/0.3082, allocations: 499.2 kB / 429.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.3089, allocations: 494.2 kB / 429.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/0.309, allocations: 82.22 kB / 429.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.3091, allocations: 115.9 kB / 430 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00163/0.3108, allocations: 0.9667 MB / 431 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.3108, allocations: 4 kB / 431 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.226e-05/0.3109, allocations: 44 kB / 431 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.3109, allocations: 32 kB / 431 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.3126, allocations: 0.9574 MB / 432 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00512/0.3178, allocations: 3.76 MB / 435.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001788/0.3196, allocations: 1.563 MB / 437.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007076/0.3203, allocations: 438.6 kB / 437.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.3204, allocations: 179.2 kB / 437.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008162/0.3213, allocations: 478.5 kB / 438.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 2.234e-06/0.3213, allocations: 0 / 438.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.008469/0.3297, allocations: 3.993 MB / 442.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.3299, allocations: 149.5 kB / 442.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004167/0.3303, allocations: 405.5 kB / 442.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-05/0.3303, allocations: 49.7 kB / 443 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.3306, allocations: 431.5 kB / 443.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.3309, allocations: 421.8 kB / 443.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.3312, allocations: 210.7 kB / 444 MB, free: 13.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3313, allocations: 378.8 kB / 444.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006501/0.332, allocations: 354.5 kB / 444.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007767/0.3328, allocations: 0.5429 MB / 445.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.3342, allocations: 0.9422 MB / 446.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.3343, allocations: 7.984 kB / 446.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002341/0.3366, allocations: 1.378 MB / 447.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3366, allocations: 8 kB / 447.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3366, allocations: 4 kB / 447.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008261/0.3375, allocations: 363.1 kB / 448 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007962/0.3383, allocations: 199.7 kB / 448.2 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007464/0.3458, allocations: 8.488 MB / 456.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007394/0.3465, allocations: 43.98 kB / 456.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.979e-05/0.3466, allocations: 48 kB / 456.7 MB, free: 0.5039 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.0004524/0.3471, allocations: 265.6 kB / 457 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.3472, allocations: 75.06 kB / 457.1 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.3497, allocations: 1.309 MB / 458.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.3497, allocations: 12 kB / 458.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3498, allocations: 4 kB / 458.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.3498, allocations: 7.984 kB / 458.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003839/0.3536, allocations: 2.526 MB / 460.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3536, allocations: 8.188 kB / 460.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006725/0.3543, allocations: 159.7 kB / 461.1 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008091/0.3551, allocations: 323.1 kB / 461.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/0.3552, allocations: 27.98 kB / 461.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007694/0.3629, allocations: 8.108 MB / 469.6 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3629, allocations: 4 kB / 469.6 MB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003287/0.3662, allocations: 1.825 MB / 471.4 MB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/0.3666, allocations: 224.2 kB / 471.6 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.3667, allocations: 27.94 kB / 471.6 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005458/0.3673, allocations: 39.98 kB / 471.7 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.3675, allocations: 104.7 kB / 471.8 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.3675, allocations: 32 kB / 471.8 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003026/0.3678, allocations: 279.2 kB / 472.1 MB, free: 440 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3678, allocations: 3.938 kB / 472.1 MB, free: 436 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001175/0.369, allocations: 320 kB / 472.4 MB, free: 116 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.0003258/0.3693, allocations: 167 kB / 472.6 MB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002798/0.3722, allocations: 1.62 MB / 474.2 MB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3722, allocations: 0 / 474.2 MB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001625/0.3738, allocations: 1.143 MB / 475.3 MB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.3744, allocations: 84.3 kB / 475.4 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.3783, allocations: 1.94 MB / 477.3 MB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008065/0.3791, allocations: 1.024 MB / 478.4 MB, free: 9.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004587/0.3796, allocations: 102.2 kB / 478.5 MB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.3798, allocations: 51.44 kB / 478.5 MB, free: 9.805 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3798, allocations: 0 / 478.5 MB, free: 9.805 MB / 398.1 MB Notification: Performance of Templates: time 0.02027/0.4, allocations: 11.29 MB / 489.8 MB, free: 14.52 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches