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.001184/0.001184, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 212.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2852, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007791/0.2931, allocations: 6.499 MB / 416.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004853/0.298, allocations: 2.636 MB / 419.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008135/0.2988, allocations: 23.94 kB / 419.1 MB, free: 8.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003124/0.302, allocations: 1.259 MB / 420.3 MB, free: 7.117 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.3036, allocations: 0.5279 MB / 420.9 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.3061, allocations: 1.265 MB / 422.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.3075, allocations: 1.075 MB / 423.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.3089, allocations: 0.9029 MB / 424.1 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006606/0.3095, allocations: 446.3 kB / 424.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006621/0.3102, allocations: 0.5485 MB / 425.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.3104, allocations: 100 kB / 425.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009048/0.3113, allocations: 419.6 kB / 425.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.3115, allocations: 231.2 kB / 425.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004891/0.312, allocations: 0.5169 MB / 426.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.3141, allocations: 1.527 MB / 427.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3141, allocations: 3.984 kB / 427.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3141, allocations: 0 / 427.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.307e-05/0.3141, allocations: 4 kB / 427.9 MB, free: 15.54 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.004584/0.3187, allocations: 1.636 MB / 429.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3188, allocations: 12.03 kB / 429.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003332/0.3221, allocations: 491.2 kB / 430 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008783/0.323, allocations: 0.4943 MB / 430.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.3231, allocations: 86.22 kB / 430.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/0.3234, allocations: 111.9 kB / 430.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.3256, allocations: 0.9745 MB / 431.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/0.3256, allocations: 0 / 431.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-05/0.3257, allocations: 40 kB / 431.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.3258, allocations: 28 kB / 431.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.3277, allocations: 0.9613 MB / 432.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006695/0.3344, allocations: 3.756 MB / 436.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.3366, allocations: 1.552 MB / 438 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008687/0.3375, allocations: 434.6 kB / 438.4 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000216/0.3378, allocations: 187.2 kB / 438.6 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009241/0.3387, allocations: 474.5 kB / 439.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 3.136e-06/0.3387, allocations: 0 / 439.1 MB, free: 3.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.009707/0.3484, allocations: 4.001 MB / 443.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.3486, allocations: 149.5 kB / 443.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007309/0.3493, allocations: 405.5 kB / 443.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.931e-05/0.3494, allocations: 45.7 kB / 443.7 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.3498, allocations: 427.7 kB / 444.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000335/0.3502, allocations: 417.9 kB / 444.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/0.3505, allocations: 210.8 kB / 444.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.3507, allocations: 382.7 kB / 445.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007298/0.3514, allocations: 350.5 kB / 445.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008998/0.3524, allocations: 0.539 MB / 445.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.354, allocations: 0.9499 MB / 446.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.354, allocations: 4 kB / 446.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002772/0.3568, allocations: 1.394 MB / 448.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.3568, allocations: 4 kB / 448.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.3569, allocations: 4 kB / 448.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009318/0.3578, allocations: 355.1 kB / 448.7 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008397/0.3586, allocations: 203.7 kB / 448.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008728/0.3674, allocations: 8.483 MB / 457.3 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009406/0.3684, allocations: 56.03 kB / 457.4 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.438e-05/0.3685, allocations: 40 kB / 457.4 MB, free: 0.5 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.0005241/0.369, allocations: 257.5 kB / 457.7 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.3692, allocations: 75.06 kB / 457.8 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/0.372, allocations: 1.309 MB / 459.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/0.372, allocations: 16 kB / 459.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/0.372, allocations: 11.98 kB / 459.1 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.3721, allocations: 3.984 kB / 459.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004521/0.3766, allocations: 2.526 MB / 461.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.3766, allocations: 0 / 461.6 MB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006865/0.3773, allocations: 151.8 kB / 461.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008214/0.3782, allocations: 335.2 kB / 462.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.817e-05/0.3782, allocations: 32.11 kB / 462.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007978/0.3862, allocations: 8.107 MB / 470.2 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3863, allocations: 8 kB / 470.2 MB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003711/0.39, allocations: 1.821 MB / 472.1 MB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004507/0.3905, allocations: 220.2 kB / 472.3 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.352e-05/0.3906, allocations: 27.98 kB / 472.3 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/0.3911, allocations: 47.92 kB / 472.3 MB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/0.3914, allocations: 96.75 kB / 472.4 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.755e-05/0.3914, allocations: 39.92 kB / 472.5 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003917/0.3918, allocations: 275.2 kB / 472.8 MB, free: 440 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3918, allocations: 0 / 472.8 MB, free: 440 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.00128/0.3931, allocations: 316 kB / 473.1 MB, free: 124 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.0003904/0.3935, allocations: 183 kB / 473.2 MB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002938/0.3965, allocations: 1.613 MB / 474.9 MB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3965, allocations: 0 / 474.9 MB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.3982, allocations: 1.15 MB / 476 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.0006139/0.3989, allocations: 85.42 kB / 476.1 MB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/0.4026, allocations: 1.973 MB / 478.1 MB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006742/0.4033, allocations: 1.021 MB / 479.1 MB, free: 9.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.4036, allocations: 63.42 kB / 479.1 MB, free: 9.848 MB / 398.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4036, allocations: 8 kB / 479.1 MB, free: 9.84 MB / 398.1 MB Notification: Performance of Templates: time 0.03083/0.4344, allocations: 26.78 MB / 0.4941 GB, free: 15 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/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