Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001485/0.001485, allocations: 108.7 kB / 17.93 MB, free: 5.547 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.001696/0.001696, allocations: 197.8 kB / 18.86 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 224.7 MB, free: 12.38 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 47.92 kB / 280.8 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08811/0.0894, allocations: 46.63 MB / 327.4 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007672/0.09711, allocations: 6.418 MB / 333.8 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004377/0.1015, allocations: 2.543 MB / 336.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000649/0.1022, allocations: 23.94 kB / 336.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002884/0.1051, allocations: 1.191 MB / 337.6 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.1071, allocations: 0.6414 MB / 338.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.1093, allocations: 1.028 MB / 339.3 MB, free: 8.879 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001616/0.1109, allocations: 1.094 MB / 340.4 MB, free: 7.777 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.1125, allocations: 0.9775 MB / 341.3 MB, free: 6.777 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006749/0.1132, allocations: 450.3 kB / 341.8 MB, free: 6.336 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006405/0.1138, allocations: 0.5524 MB / 342.3 MB, free: 5.781 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.114, allocations: 100 kB / 342.4 MB, free: 5.684 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008717/0.1149, allocations: 407.6 kB / 342.8 MB, free: 5.285 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.1151, allocations: 243.1 kB / 343.1 MB, free: 5.047 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004794/0.1156, allocations: 0.5324 MB / 343.6 MB, free: 4.512 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001382/0.117, allocations: 1.15 MB / 344.8 MB, free: 3.359 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.117, allocations: 0 / 344.8 MB, free: 3.359 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.117, allocations: 7.938 kB / 344.8 MB, free: 3.352 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.117, allocations: 3.938 kB / 344.8 MB, free: 3.348 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004455/0.1215, allocations: 1.655 MB / 346.4 MB, free: 1.641 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.1215, allocations: 12.03 kB / 346.4 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0039/0.1255, allocations: 0.5733 MB / 347 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008836/0.1264, allocations: 0.4941 MB / 347.5 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-05/0.1265, allocations: 86.28 kB / 347.6 MB, free: 444 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.1267, allocations: 120 kB / 347.7 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.1288, allocations: 1.011 MB / 348.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.873e-05/0.1289, allocations: 3.906 kB / 348.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.129, allocations: 48 kB / 348.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.129, allocations: 32 kB / 348.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.131, allocations: 1.028 MB / 349.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006344/0.1374, allocations: 3.862 MB / 353.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.1397, allocations: 2.059 MB / 355.7 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008114/0.1406, allocations: 455.5 kB / 356.2 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.1407, allocations: 98.09 kB / 356.3 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008831/0.1416, allocations: 482.4 kB / 356.8 MB, free: 6.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=98): time 2.615e-06/0.1416, allocations: 7.938 kB / 356.8 MB, free: 6.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=127): time 0.008975/0.1506, allocations: 4.01 MB / 360.8 MB, free: 2.547 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.544e-05/0.1508, allocations: 141.5 kB / 360.9 MB, free: 2.379 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004855/0.1513, allocations: 409.8 kB / 361.3 MB, free: 1.969 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.9e-05/0.1513, allocations: 45.7 kB / 361.4 MB, free: 1.918 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/0.1517, allocations: 447.4 kB / 361.8 MB, free: 1.473 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/0.152, allocations: 425.7 kB / 362.2 MB, free: 1.051 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/0.1523, allocations: 222.8 kB / 362.4 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1525, allocations: 378.7 kB / 362.8 MB, free: 456 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007029/0.1532, allocations: 362.5 kB / 363.1 MB, free: 96 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008991/0.1541, allocations: 0.5915 MB / 363.7 MB, free: 15.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.1557, allocations: 1.001 MB / 364.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.1557, allocations: 4 kB / 364.7 MB, free: 14.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002616/0.1584, allocations: 1.433 MB / 366.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.1584, allocations: 8 kB / 366.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.1584, allocations: 4 kB / 366.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009186/0.1593, allocations: 359.1 kB / 366.5 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/0.1603, allocations: 219.6 kB / 366.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008246/0.1685, allocations: 8.496 MB / 375.3 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008969/0.1695, allocations: 51.98 kB / 375.3 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.421e-05/0.1696, allocations: 44 kB / 375.3 MB, free: 3.152 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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.0004716/0.1701, allocations: 273.6 kB / 375.6 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.1702, allocations: 75.16 kB / 375.7 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.1728, allocations: 1.321 MB / 377 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.1728, allocations: 16 kB / 377 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.1729, allocations: 7.938 kB / 377 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.1729, allocations: 11.97 kB / 377 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1475/0.3204, allocations: 2.553 MB / 379.6 MB, free: 51.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.3205, allocations: 6.406 kB / 379.6 MB, free: 51.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007178/0.3212, allocations: 151.5 kB / 379.7 MB, free: 51.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008788/0.3221, allocations: 337 kB / 380.1 MB, free: 51.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.66e-05/0.3222, allocations: 26.39 kB / 380.1 MB, free: 51.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006048/0.3282, allocations: 8.115 MB / 388.2 MB, free: 45.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3283, allocations: 6.562 kB / 388.2 MB, free: 45.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003155/0.3314, allocations: 1.843 MB / 390.1 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.3318, allocations: 224.7 kB / 390.3 MB, free: 44.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.3319, allocations: 24.66 kB / 390.3 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005235/0.3324, allocations: 38.11 kB / 390.3 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00026/0.3327, allocations: 107.6 kB / 390.5 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.266e-05/0.3328, allocations: 33.94 kB / 390.5 MB, free: 44.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003139/0.3331, allocations: 279.8 kB / 390.8 MB, free: 44.33 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3331, allocations: 0 / 390.8 MB, free: 44.33 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001195/0.3343, allocations: 324.7 kB / 391.1 MB, free: 44.28 MB / 318.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) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * 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.0002852/0.3346, allocations: 165.8 kB / 391.2 MB, free: 44.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003186/0.3378, allocations: 1.682 MB / 392.9 MB, free: 43.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.3378, allocations: 1.188 kB / 392.9 MB, free: 43.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.3394, allocations: 1.151 MB / 394.1 MB, free: 42.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006346/0.3401, allocations: 75.81 kB / 394.1 MB, free: 42.49 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.3438, allocations: 2.52 MB / 396.7 MB, free: 40.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.3444, allocations: 1.031 MB / 397.7 MB, free: 40.24 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.3446, allocations: 64.91 kB / 397.8 MB, free: 40.23 MB / 318.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3446, allocations: 3.969 kB / 397.8 MB, free: 40.23 MB / 318.1 MB Notification: Performance of Templates: time 0.02259/0.3672, allocations: 26.73 MB / 424.5 MB, free: 18.79 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches