Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.001071, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.29/1.29, allocations: 222.9 MB / 240.9 MB, free: 10.97 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.001031/0.001031, allocations: 107.2 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007888/0.0007888, allocations: 39.94 kB / 350 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2413, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006653/0.248, allocations: 7.731 MB / 407.2 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003837/0.2519, allocations: 2.616 MB / 409.8 MB, free: 22.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009076/0.2528, allocations: 63.69 kB / 409.9 MB, free: 22.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.2539, allocations: 490.8 kB / 410.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.2554, allocations: 0.6763 MB / 411 MB, free: 21.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006339/0.256, allocations: 375.6 kB / 411.4 MB, free: 21.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002357/0.2584, allocations: 3.713 MB / 415.1 MB, free: 17.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002312/0.2607, allocations: 2.959 MB / 418.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/0.2632, allocations: 1.426 MB / 419.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.265, allocations: 1.95 MB / 421.5 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003595/0.2654, allocations: 292 kB / 421.7 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008252/0.2662, allocations: 0.5151 MB / 422.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006399/0.2669, allocations: 1.067 MB / 423.3 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.2682, allocations: 1.773 MB / 425.1 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003548/0.2718, allocations: 5.92 MB / 431 MB, free: 1.684 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2718, allocations: 0 / 431 MB, free: 1.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.2718, allocations: 0 / 431 MB, free: 1.684 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.871e-05/0.2719, allocations: 0 / 431 MB, free: 1.684 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.006625/0.2785, allocations: 3.787 MB / 434.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.2786, allocations: 20.02 kB / 434.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008426/0.2794, allocations: 388.6 kB / 435.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/0.2828, allocations: 2.08 MB / 437.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.2829, allocations: 221.8 kB / 437.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000376/0.2833, allocations: 287.9 kB / 437.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005835/0.2891, allocations: 4.195 MB / 442 MB, free: 6.547 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/0.2892, allocations: 0 / 442 MB, free: 6.547 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/0.2895, allocations: 120 kB / 442.1 MB, free: 6.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/0.2896, allocations: 141.9 kB / 442.2 MB, free: 6.289 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005204/0.2948, allocations: 3.493 MB / 445.7 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01604/0.3109, allocations: 10.9 MB / 456.6 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/0.3135, allocations: 2.654 MB / 459.3 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002128/0.3156, allocations: 1.481 MB / 460.8 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000227/0.3159, allocations: 126.1 kB / 460.9 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3159, allocations: 55.48 kB / 460.9 MB, free: 3.137 MB / 330.7 MB Notification: Performance of pre-optimization done (n=128): time 3.226e-06/0.3159, allocations: 0 / 460.9 MB, free: 3.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=133): time 0.008184/0.3241, allocations: 5.168 MB / 466.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.3242, allocations: 90.42 kB / 466.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/0.3266, allocations: 1.913 MB / 468.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-05/0.3267, allocations: 53.64 kB / 468.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008401/0.3276, allocations: 1.311 MB / 469.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.3279, allocations: 461.3 kB / 469.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00041/0.3283, allocations: 271.4 kB / 470.2 MB, free: 9.773 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.3284, allocations: 305.1 kB / 470.5 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.3295, allocations: 0.8159 MB / 471.3 MB, free: 8.656 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.3309, allocations: 1.182 MB / 472.5 MB, free: 7.324 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/0.3335, allocations: 2.082 MB / 474.6 MB, free: 5.102 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.3335, allocations: 4 kB / 474.6 MB, free: 5.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004393/0.3379, allocations: 2.523 MB / 477.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.338, allocations: 12 kB / 477.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.338, allocations: 8 kB / 477.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/0.3398, allocations: 480.7 kB / 477.6 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.341, allocations: 331.5 kB / 477.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004697/0.3457, allocations: 4.063 MB / 482 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.3471, allocations: 79.92 kB / 482 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.3472, allocations: 63.98 kB / 482.1 MB, free: 13.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001503/0.3487, allocations: 1.044 MB / 483.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003688/0.3491, allocations: 197.7 kB / 483.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003322/0.3524, allocations: 2.149 MB / 485.5 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/0.3525, allocations: 20 kB / 485.5 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3525, allocations: 4 kB / 485.5 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.3525, allocations: 7.969 kB / 485.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008169/0.3607, allocations: 5.183 MB / 490.7 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.3607, allocations: 0 / 490.7 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009605/0.3617, allocations: 227.7 kB / 490.9 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/0.3634, allocations: 453 kB / 491.4 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.53e-05/0.3635, allocations: 27.98 kB / 491.4 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004681/0.3682, allocations: 3.971 MB / 495.4 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3682, allocations: 4 kB / 495.4 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02525/0.3935, allocations: 15.17 MB / 0.4986 GB, free: 384 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.194/0.5875, allocations: 453.1 kB / 0.499 GB, free: 94.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006997/0.5883, allocations: 28.58 kB / 0.499 GB, free: 94.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.5895, allocations: 98.17 kB / 0.4991 GB, free: 94.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003192/0.5898, allocations: 90.75 kB / 0.4992 GB, free: 94.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.59, allocations: 45.25 kB / 0.4993 GB, free: 94.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002258/0.5922, allocations: 1.342 MB / 0.5006 GB, free: 94.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5922, allocations: 0 / 0.5006 GB, free: 94.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002131/0.5944, allocations: 0.7357 MB / 0.5013 GB, free: 94.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005189/0.5949, allocations: 225.1 kB / 0.5015 GB, free: 94.19 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003214/0.5981, allocations: 2.182 MB / 0.5036 GB, free: 94.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.5982, allocations: 3.938 kB / 0.5036 GB, free: 94.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002058/0.6002, allocations: 1.205 MB / 0.5048 GB, free: 93.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.6028, allocations: 0.492 MB / 0.5053 GB, free: 93.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.6138, allocations: 8.178 MB / 0.5133 GB, free: 88.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002169/0.616, allocations: 2.468 MB / 0.5157 GB, free: 87.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001736/0.6177, allocations: 0.4897 MB / 0.5162 GB, free: 86.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/0.6181, allocations: 134.5 kB / 0.5163 GB, free: 86.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.314e-06/0.6181, allocations: 0 / 0.5163 GB, free: 86.73 MB / 378.7 MB Notification: Performance of Templates: time 0.04782/0.666, allocations: 32.54 MB / 0.5481 GB, free: 54.77 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches