Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000895/0.000895, allocations: 95.59 kB / 281.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.602e-05/1.604e-05, allocations: 0 / 337 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09904/0.09907, allocations: 50.41 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3501/0.4493, allocations: 103.6 MB / 491.1 MB, free: 7.172 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.4495, allocations: 87.95 kB / 491.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.754/3.203, allocations: 0.7974 GB / 1.277 GB, free: 41.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.844e-06/3.203, allocations: 0 / 1.277 GB, free: 41.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001125/3.204, allocations: 384.3 kB / 1.277 GB, free: 41.66 MB / 0.4948 GB 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.0562/3.261, allocations: 15.92 MB / 1.293 GB, free: 37.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/3.261, allocations: 10.94 kB / 1.293 GB, free: 37.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03389/3.295, allocations: 6.044 MB / 1.299 GB, free: 36.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02812/3.323, allocations: 11.99 MB / 1.311 GB, free: 34.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001099/3.324, allocations: 0.5418 MB / 1.311 GB, free: 34.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005583/3.33, allocations: 0.9644 MB / 1.312 GB, free: 34.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03911/3.369, allocations: 21.28 MB / 1.333 GB, free: 34.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06782/3.437, allocations: 25.41 MB / 1.358 GB, free: 31.74 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009365/3.437, allocations: 23.52 kB / 1.358 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00685/3.444, allocations: 12.25 kB / 1.358 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001642/3.446, allocations: 1.295 MB / 1.359 GB, free: 31.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5108/3.957, allocations: 84.43 MB / 1.441 GB, free: 38.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03079/3.988, allocations: 35.16 MB / 1.476 GB, free: 26.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00854/3.996, allocations: 5.216 MB / 1.481 GB, free: 26.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006394/3.997, allocations: 206.4 kB / 1.481 GB, free: 26.78 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.986e-05/3.997, allocations: 96.31 kB / 1.481 GB, free: 26.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=613): time 9.027e-06/3.997, allocations: 3.094 kB / 1.481 GB, free: 26.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=613): time 0.0188/4.016, allocations: 9.705 MB / 1.491 GB, free: 26.47 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/4.016, allocations: 139.1 kB / 1.491 GB, free: 26.37 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/4.028, allocations: 5.234 MB / 1.496 GB, free: 25.99 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001314/4.03, allocations: 25.7 kB / 1.496 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005687/4.036, allocations: 7.56 MB / 1.503 GB, free: 22.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003003/4.039, allocations: 2.045 MB / 1.505 GB, free: 20.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/4.04, allocations: 2.531 kB / 1.505 GB, free: 20.92 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007256/4.04, allocations: 0.7471 MB / 1.506 GB, free: 20.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006543/4.047, allocations: 4.753 MB / 1.511 GB, free: 20.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00928/4.056, allocations: 9.388 MB / 1.52 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01452/4.071, allocations: 8.391 MB / 1.528 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003755/4.071, allocations: 47.06 kB / 1.528 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1365) (initialization): time 0.03432/4.105, allocations: 15.88 MB / 1.544 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001586/4.106, allocations: 73 kB / 1.544 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003415/4.106, allocations: 162.3 kB / 1.544 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00313/4.109, allocations: 1.501 MB / 1.545 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008289/4.117, allocations: 2.36 MB / 1.548 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/4.131, allocations: 11.7 MB / 1.559 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009252/4.141, allocations: 1.185 MB / 1.56 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002173/4.143, allocations: 0.5323 MB / 1.561 GB, free: 11.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 727 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1242): * Single equations (assignments): 1221 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 98} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002085/4.145, allocations: 0.4963 MB / 1.561 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/4.146, allocations: 0.6059 MB / 1.562 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02074/4.167, allocations: 11.49 MB / 1.573 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01489/4.182, allocations: 9.148 MB / 1.582 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/4.182, allocations: 16.59 kB / 1.582 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.644e-05/4.182, allocations: 28.27 kB / 1.582 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0587/4.241, allocations: 24.94 MB / 1.606 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.64e-05/4.241, allocations: 11.95 kB / 1.606 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004301/4.245, allocations: 1.044 MB / 1.607 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003338/4.249, allocations: 1.146 MB / 1.608 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009442/4.25, allocations: 50.59 kB / 1.609 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01415/4.264, allocations: 10.08 MB / 1.618 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/4.264, allocations: 11 kB / 1.618 GB, free: 1.191 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3828/4.647, allocations: 16.87 MB / 1.635 GB, free: 74.56 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00507/4.652, allocations: 1.518 MB / 1.636 GB, free: 74.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001946/4.654, allocations: 17.27 kB / 1.636 GB, free: 74.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003655/4.657, allocations: 266.5 kB / 1.637 GB, free: 74.32 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007147/4.658, allocations: 414.6 kB / 1.637 GB, free: 74.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003758/4.659, allocations: 171.6 kB / 1.637 GB, free: 74.31 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006407/4.665, allocations: 3.806 MB / 1.641 GB, free: 74.13 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.21e-07/4.665, allocations: 0 / 1.641 GB, free: 74.13 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01502/4.68, allocations: 3.773 MB / 1.645 GB, free: 73.58 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 1 (currentSensorL.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (544): * Single equations (assignments): 523 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,80.6%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001875/4.682, allocations: 290.6 kB / 1.645 GB, free: 73.49 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01799/4.7, allocations: 11.38 MB / 1.656 GB, free: 73.08 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/4.7, allocations: 3.125 kB / 1.656 GB, free: 73.08 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008066/4.708, allocations: 4.779 MB / 1.661 GB, free: 72.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008765/4.717, allocations: 1.2 MB / 1.662 GB, free: 72.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0614/4.778, allocations: 25.23 MB / 1.686 GB, free: 68.36 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0242/4.803, allocations: 11.53 MB / 1.698 GB, free: 67.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01318/4.816, allocations: 3.955 MB / 1.702 GB, free: 67.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003234/4.819, allocations: 0.4991 MB / 1.702 GB, free: 67.01 MB / 0.5417 GB Notification: Performance of SimCode: time 1.653e-06/4.819, allocations: 0 / 1.702 GB, free: 67.01 MB / 0.5417 GB Notification: Performance of Templates: time 0.1714/4.991, allocations: 89.74 MB / 1.79 GB, free: 32.73 MB / 0.5417 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches