Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008435/0.0008435, allocations: 90.12 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009231/0.0009231, allocations: 203 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.432/1.432, allocations: 228 MB / 247.1 MB, free: 11.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002808, allocations: 4.875 kB / 308 MB, free: 0.7422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09748/0.09777, allocations: 51.52 MB / 359.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1879/0.2857, allocations: 26.74 MB / 386.3 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.2988, allocations: 7.095 MB / 393.4 MB, free: 1.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004436/0.3033, allocations: 244.2 kB / 393.6 MB, free: 1.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005187/0.3085, allocations: 1.968 MB / 395.6 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009264/0.3178, allocations: 2.247 MB / 397.8 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00561/0.3234, allocations: 1.888 MB / 399.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02198/0.3454, allocations: 17.59 MB / 417.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.081/0.4264, allocations: 43.61 MB / 460.9 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01225/0.4387, allocations: 6.787 MB / 467.7 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01403/0.4527, allocations: 8.13 MB / 475.8 MB, free: 7.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00359/0.4564, allocations: 1.148 MB / 477 MB, free: 5.879 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006048/0.4624, allocations: 1.414 MB / 478.4 MB, free: 4.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004712/0.4672, allocations: 3.277 MB / 481.7 MB, free: 1.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01323/0.4804, allocations: 8.387 MB / 490.1 MB, free: 8.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04023/0.5207, allocations: 36.68 MB / 0.5144 GB, free: 3.945 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5207, allocations: 0 / 0.5144 GB, free: 3.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.5207, allocations: 0 / 0.5144 GB, free: 3.945 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008746/0.5216, allocations: 0 / 0.5144 GB, free: 3.945 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.05117/0.5728, allocations: 18.08 MB / 0.5321 GB, free: 1.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.5728, allocations: 8.031 kB / 0.5321 GB, free: 1.734 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.363/0.9358, allocations: 8.188 MB / 0.5401 GB, free: 116.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01834/0.9542, allocations: 11.31 MB / 0.5511 GB, free: 110.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001051/0.9553, allocations: 1.337 MB / 0.5524 GB, free: 110 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004836/0.9601, allocations: 1.751 MB / 0.5541 GB, free: 109.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05351/1.014, allocations: 28.81 MB / 0.5823 GB, free: 87.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005147/1.014, allocations: 19.81 kB / 0.5823 GB, free: 87.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004129/1.018, allocations: 0.7262 MB / 0.583 GB, free: 86.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005653/1.019, allocations: 0.8648 MB / 0.5838 GB, free: 85.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04198/1.061, allocations: 24.87 MB / 0.6081 GB, free: 60.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1238/1.185, allocations: 88.67 MB / 0.6947 GB, free: 2.508 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3915/1.576, allocations: 35.23 MB / 0.7291 GB, free: 155 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009008/1.585, allocations: 5.353 MB / 0.7344 GB, free: 154.6 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005032/1.586, allocations: 330.7 kB / 0.7347 GB, free: 154.4 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.719e-05/1.586, allocations: 94.86 kB / 0.7348 GB, free: 154.3 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=589): time 7.864e-06/1.586, allocations: 0.7188 kB / 0.7348 GB, free: 154.3 MB / 0.4983 GB Notification: Performance of matching and sorting (n=589): time 0.03201/1.618, allocations: 14.91 MB / 0.7493 GB, free: 149.7 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/1.618, allocations: 141 kB / 0.7495 GB, free: 149.6 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007546/1.626, allocations: 6.419 MB / 0.7557 GB, free: 147.4 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 0.0004373/1.626, allocations: 117 kB / 0.7558 GB, free: 147.3 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.002883/1.629, allocations: 7.595 MB / 0.7633 GB, free: 141.9 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.001248/1.63, allocations: 2.044 MB / 0.7652 GB, free: 140.3 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00087/1.631, allocations: 0.8226 MB / 0.7661 GB, free: 139.9 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 3.578e-05/1.631, allocations: 301.1 kB / 0.7663 GB, free: 139.6 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005438/1.637, allocations: 4.831 MB / 0.7711 GB, free: 137.9 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007048/1.644, allocations: 9.548 MB / 0.7804 GB, free: 129.8 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01318/1.657, allocations: 15.49 MB / 0.7955 GB, free: 118.6 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001051/1.657, allocations: 48.81 kB / 0.7956 GB, free: 118.6 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.01883/1.676, allocations: 15.57 MB / 0.8108 GB, free: 105.4 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 8.409e-05/1.676, allocations: 79.94 kB / 0.8108 GB, free: 105.3 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001877/1.676, allocations: 160 kB / 0.811 GB, free: 105.2 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005226/1.681, allocations: 1.666 MB / 0.8126 GB, free: 103.5 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00732/1.689, allocations: 2.363 MB / 0.8149 GB, free: 101.1 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/1.7, allocations: 10.87 MB / 0.8255 GB, free: 90.16 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006746/1.707, allocations: 1.339 MB / 0.8269 GB, free: 88.8 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006952/1.708, allocations: 0.5429 MB / 0.8274 GB, free: 88.26 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1249): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008814/1.717, allocations: 7.141 MB / 0.8344 GB, free: 81.1 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008275/1.717, allocations: 0.6095 MB / 0.835 GB, free: 80.48 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/1.73, allocations: 10.3 MB / 0.845 GB, free: 70.09 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0093/1.74, allocations: 7.963 MB / 0.8528 GB, free: 62.04 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/1.74, allocations: 16 kB / 0.8528 GB, free: 62.03 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.229e-05/1.74, allocations: 31.89 kB / 0.8528 GB, free: 62 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03209/1.772, allocations: 26.53 MB / 0.8787 GB, free: 34.96 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/1.772, allocations: 11.39 kB / 0.8787 GB, free: 34.95 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003612/1.775, allocations: 1.022 MB / 0.8797 GB, free: 33.93 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004816/1.78, allocations: 1.466 MB / 0.8812 GB, free: 32.46 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003/1.781, allocations: 132 kB / 0.8813 GB, free: 32.33 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/1.792, allocations: 10.43 MB / 0.8915 GB, free: 21.78 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.792, allocations: 15.94 kB / 0.8915 GB, free: 21.76 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/1.808, allocations: 14.43 MB / 0.9056 GB, free: 6.973 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002446/1.811, allocations: 1.472 MB / 0.907 GB, free: 5.473 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006994/1.811, allocations: 108.9 kB / 0.9071 GB, free: 5.367 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002777/1.814, allocations: 323.7 kB / 0.9074 GB, free: 5.051 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006898/1.815, allocations: 416.4 kB / 0.9078 GB, free: 4.641 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003136/1.815, allocations: 176 kB / 0.908 GB, free: 4.469 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.2024/2.018, allocations: 4.302 MB / 0.9122 GB, free: 143.9 MB / 0.4983 GB Notification: Performance of sort global known variables: time 4.61e-07/2.018, allocations: 0 / 0.9122 GB, free: 143.9 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.01111/2.029, allocations: 4.035 MB / 0.9161 GB, free: 143.4 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (534): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001017/2.03, allocations: 331.9 kB / 0.9165 GB, free: 143.3 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.01678/2.047, allocations: 11.53 MB / 0.9277 GB, free: 140.1 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/2.047, allocations: 11.03 kB / 0.9277 GB, free: 140.1 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.005941/2.053, allocations: 4.754 MB / 0.9324 GB, free: 138.2 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01382/2.066, allocations: 1.474 MB / 0.9338 GB, free: 137.7 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04587/2.112, allocations: 36.72 MB / 0.9697 GB, free: 117.8 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01052/2.123, allocations: 11.26 MB / 0.9807 GB, free: 109.9 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.008882/2.132, allocations: 3.764 MB / 0.9843 GB, free: 107.5 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/2.133, allocations: 0.5446 MB / 0.9849 GB, free: 106.9 MB / 0.4983 GB Notification: Performance of SimCode: time 1.172e-06/2.133, allocations: 4 kB / 0.9849 GB, free: 106.9 MB / 0.4983 GB Notification: Performance of Templates: time 0.142/2.275, allocations: 97.46 MB / 1.08 GB, free: 12.75 MB / 0.4983 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches