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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 188.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009755/0.0009754, allocations: 99 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009458/0.0009462, allocations: 35.94 kB / 350 MB, free: 56 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2409, allocations: 49.45 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005761/0.2467, allocations: 6.409 MB / 405.9 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00317/0.2499, allocations: 2.519 MB / 408.4 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/0.2502, allocations: 23.94 kB / 408.4 MB, free: 24.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.2523, allocations: 1.183 MB / 409.6 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.2534, allocations: 0.618 MB / 410.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.255, allocations: 1.059 MB / 411.3 MB, free: 21.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000725/0.2557, allocations: 1.036 MB / 412.3 MB, free: 20.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008977/0.2566, allocations: 0.7968 MB / 413.1 MB, free: 19.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.257, allocations: 402.4 kB / 413.5 MB, free: 19.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004188/0.2574, allocations: 0.5289 MB / 414.1 MB, free: 18.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.589e-05/0.2575, allocations: 68 kB / 414.1 MB, free: 18.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005862/0.2581, allocations: 375.6 kB / 414.5 MB, free: 18.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.2582, allocations: 199.2 kB / 414.7 MB, free: 18.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.2585, allocations: 0.4974 MB / 415.2 MB, free: 17.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.2596, allocations: 1.452 MB / 416.6 MB, free: 16.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2596, allocations: 7.938 kB / 416.6 MB, free: 16.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2596, allocations: 0 / 416.6 MB, free: 16.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.2596, allocations: 4 kB / 416.6 MB, free: 16.11 MB / 298.7 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.003643/0.2633, allocations: 1.628 MB / 418.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.2633, allocations: 12.03 kB / 418.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002801/0.2661, allocations: 475.2 kB / 418.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.2667, allocations: 490.2 kB / 419.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.2667, allocations: 90.22 kB / 419.3 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.2668, allocations: 111.9 kB / 419.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.2684, allocations: 0.9667 MB / 420.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.2684, allocations: 3.984 kB / 420.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-05/0.2685, allocations: 48 kB / 420.4 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.2685, allocations: 24 kB / 420.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.2701, allocations: 0.9574 MB / 421.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004474/0.2746, allocations: 3.708 MB / 425.1 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.2761, allocations: 1.548 MB / 426.7 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006392/0.2767, allocations: 436.4 kB / 427.1 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-05/0.2768, allocations: 102.1 kB / 427.2 MB, free: 5.023 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006862/0.2775, allocations: 478.5 kB / 427.7 MB, free: 4.531 MB / 298.7 MB Notification: Performance of pre-optimization done (n=96): time 2.604e-06/0.2776, allocations: 0 / 427.7 MB, free: 4.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=125): time 0.007721/0.2853, allocations: 3.982 MB / 431.7 MB, free: 444 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.2853, allocations: 145.5 kB / 431.8 MB, free: 264 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.2857, allocations: 389.6 kB / 432.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/0.2858, allocations: 53.7 kB / 432.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.286, allocations: 427.6 kB / 432.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.2863, allocations: 417.8 kB / 433.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000288/0.2866, allocations: 202.9 kB / 433.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2868, allocations: 378.8 kB / 433.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000703/0.2875, allocations: 350.5 kB / 434 MB, free: 14.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008119/0.2883, allocations: 0.5468 MB / 434.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.2898, allocations: 0.9375 MB / 435.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2898, allocations: 4 kB / 435.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002461/0.2923, allocations: 1.391 MB / 436.8 MB, free: 11.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2923, allocations: 8 kB / 436.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2923, allocations: 4 kB / 436.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008593/0.2932, allocations: 350 kB / 437.2 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008261/0.294, allocations: 211.6 kB / 437.4 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007158/0.3012, allocations: 7.724 MB / 445.1 MB, free: 2.207 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006716/0.3019, allocations: 47.92 kB / 445.2 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-05/0.302, allocations: 48 kB / 445.2 MB, free: 2.113 MB / 314.7 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.0003918/0.3024, allocations: 262.2 kB / 445.5 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.3025, allocations: 71.16 kB / 445.5 MB, free: 1.777 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/0.3051, allocations: 1.313 MB / 446.9 MB, free: 456 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.3051, allocations: 12 kB / 446.9 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.3051, allocations: 12 kB / 446.9 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.3052, allocations: 3.984 kB / 446.9 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004015/0.3092, allocations: 2.524 MB / 449.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.3092, allocations: 8 kB / 449.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006744/0.3099, allocations: 151.9 kB / 449.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007809/0.3107, allocations: 335 kB / 449.9 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.19e-05/0.3107, allocations: 27.98 kB / 449.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006734/0.3175, allocations: 7.438 MB / 457.4 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3175, allocations: 4 kB / 457.4 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007148/0.3247, allocations: 5.426 MB / 462.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/0.325, allocations: 220.2 kB / 463 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.863e-05/0.3251, allocations: 28 kB / 463 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/0.3256, allocations: 40.05 kB / 463.1 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/0.3258, allocations: 100.7 kB / 463.2 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/0.3259, allocations: 35.98 kB / 463.2 MB, free: 15.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002941/0.3262, allocations: 267.2 kB / 463.5 MB, free: 14.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3262, allocations: 0 / 463.5 MB, free: 14.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001279/0.3275, allocations: 356.1 kB / 463.8 MB, free: 14.52 MB / 346.7 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.000289/0.3278, allocations: 175.1 kB / 464 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002474/0.3303, allocations: 1.613 MB / 465.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3303, allocations: 4.094 kB / 465.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001493/0.3318, allocations: 1.146 MB / 466.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.3323, allocations: 77.48 kB / 466.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.3363, allocations: 3.154 MB / 470 MB, free: 8.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/0.3369, allocations: 1.055 MB / 471 MB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004918/0.3374, allocations: 98.17 kB / 471.1 MB, free: 7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.3376, allocations: 59.42 kB / 471.2 MB, free: 6.941 MB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3376, allocations: 4 kB / 471.2 MB, free: 6.938 MB / 346.7 MB Notification: Performance of Templates: time 0.01746/0.355, allocations: 11.4 MB / 482.6 MB, free: 11.55 MB / 362.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches