Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 111.8 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.00161, allocations: 189.6 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009463/0.0009464, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2779, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008187/0.2862, allocations: 6.467 MB / 407.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005195/0.2914, allocations: 2.53 MB / 410.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008259/0.2923, allocations: 16 kB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003023/0.2954, allocations: 1.273 MB / 411.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.2975, allocations: 0.6932 MB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.2998, allocations: 1.101 MB / 413.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.3012, allocations: 1.067 MB / 414.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.3025, allocations: 0.8924 MB / 415.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005595/0.3031, allocations: 450.3 kB / 415.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006237/0.3038, allocations: 0.5407 MB / 416.4 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.3039, allocations: 96 kB / 416.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009927/0.3049, allocations: 403.6 kB / 416.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.3051, allocations: 231.2 kB / 417.1 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005257/0.3056, allocations: 0.5131 MB / 417.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.3075, allocations: 1.511 MB / 419.2 MB, free: 7.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3075, allocations: 4 kB / 419.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3075, allocations: 0 / 419.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.3075, allocations: 0 / 419.2 MB, free: 7.043 MB / 334.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.004188/0.3117, allocations: 1.628 MB / 420.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3118, allocations: 12.03 kB / 420.8 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002975/0.3147, allocations: 479.2 kB / 421.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008265/0.3156, allocations: 498.2 kB / 421.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-05/0.3157, allocations: 82.22 kB / 421.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.3159, allocations: 116 kB / 422 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.3179, allocations: 0.9667 MB / 422.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.384e-05/0.3179, allocations: 3.906 kB / 422.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.318, allocations: 44 kB / 423 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.3181, allocations: 28 kB / 423 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/0.32, allocations: 0.9652 MB / 424 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005865/0.3258, allocations: 3.658 MB / 427.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.3279, allocations: 1.552 MB / 429.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007381/0.3286, allocations: 436.3 kB / 429.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.3287, allocations: 102.2 kB / 429.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008247/0.3296, allocations: 478.5 kB / 430.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=96): time 2.595e-06/0.3296, allocations: 0 / 430.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.008744/0.3383, allocations: 3.994 MB / 434.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.3385, allocations: 149.4 kB / 434.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/0.339, allocations: 393.5 kB / 434.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.3391, allocations: 45.7 kB / 434.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.3395, allocations: 423.5 kB / 435.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003597/0.3399, allocations: 433.8 kB / 435.6 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003426/0.3402, allocations: 202.9 kB / 435.8 MB, free: 5.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.3404, allocations: 374.8 kB / 436.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007118/0.3412, allocations: 354.5 kB / 436.5 MB, free: 4.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008737/0.342, allocations: 0.539 MB / 437 MB, free: 4.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.3437, allocations: 0.9489 MB / 438 MB, free: 3.363 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3437, allocations: 0 / 438 MB, free: 3.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002531/0.3462, allocations: 1.39 MB / 439.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.3463, allocations: 8 kB / 439.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.3463, allocations: 4 kB / 439.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009403/0.3472, allocations: 351.1 kB / 439.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008119/0.3481, allocations: 203.7 kB / 439.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00836/0.3564, allocations: 8.48 MB / 448.4 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008943/0.3574, allocations: 48.05 kB / 448.4 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.3575, allocations: 47.98 kB / 448.5 MB, free: 8.266 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.0005047/0.358, allocations: 257.6 kB / 448.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.3582, allocations: 67.3 kB / 448.8 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/0.3607, allocations: 1.313 MB / 450.1 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.3608, allocations: 12 kB / 450.1 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.3608, allocations: 8 kB / 450.1 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.3608, allocations: 11.95 kB / 450.1 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004324/0.3651, allocations: 2.518 MB / 452.7 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.3652, allocations: 4 kB / 452.7 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006741/0.3659, allocations: 147.8 kB / 452.8 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008257/0.3667, allocations: 331.2 kB / 453.1 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.92e-05/0.3668, allocations: 31.98 kB / 453.2 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007729/0.3745, allocations: 8.116 MB / 461.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.3746, allocations: 7.938 kB / 461.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003541/0.3781, allocations: 1.821 MB / 463.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/0.3786, allocations: 220.2 kB / 463.3 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.3788, allocations: 24 kB / 463.3 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005934/0.3794, allocations: 40.22 kB / 463.4 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002876/0.3797, allocations: 100.7 kB / 463.5 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-05/0.3798, allocations: 36 kB / 463.5 MB, free: 8.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003526/0.3802, allocations: 267.2 kB / 463.8 MB, free: 8.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3802, allocations: 7.938 kB / 463.8 MB, free: 8.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001373/0.3815, allocations: 311.9 kB / 464.1 MB, free: 7.902 MB / 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.000342/0.3819, allocations: 175.1 kB / 464.3 MB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002968/0.3849, allocations: 1.624 MB / 465.9 MB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/0.3849, allocations: 4 kB / 465.9 MB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001846/0.3868, allocations: 1.138 MB / 467 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/0.3875, allocations: 81.42 kB / 467.1 MB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.3913, allocations: 1.964 MB / 469.1 MB, free: 2.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007217/0.3921, allocations: 1.024 MB / 470.1 MB, free: 1.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.3923, allocations: 63.42 kB / 470.2 MB, free: 1.645 MB / 382.1 MB Notification: Performance of SimCode: time 1.753e-06/0.3924, allocations: 4 kB / 470.2 MB, free: 1.641 MB / 382.1 MB Notification: Performance of Templates: time 0.03049/0.4228, allocations: 26.41 MB / 496.6 MB, free: 7.164 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches