Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009414/0.0009414, allocations: 99.06 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009096/0.0009096, allocations: 55.91 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1904, allocations: 50.45 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01839/0.2088, allocations: 28.04 MB / 435.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.2217, allocations: 7.133 MB / 442.2 MB, free: 8.504 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004521/0.2262, allocations: 247.2 kB / 442.5 MB, free: 8.262 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02554/0.2518, allocations: 12.45 MB / 454.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.263, allocations: 2.251 MB / 457.2 MB, free: 9.531 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006844/0.2699, allocations: 1.921 MB / 459.1 MB, free: 7.633 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02163/0.2915, allocations: 17.89 MB / 477 MB, free: 5.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06404/0.3556, allocations: 37.21 MB / 0.5021 GB, free: 260 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3732/0.7288, allocations: 8.751 MB / 0.5107 GB, free: 31.08 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01629/0.7451, allocations: 10.65 MB / 0.5211 GB, free: 29.32 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 0.006621/0.7518, allocations: 2.074 MB / 0.5231 GB, free: 29.32 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008491/0.7603, allocations: 2.352 MB / 0.5254 GB, free: 29.31 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007043/0.7674, allocations: 4.608 MB / 0.5299 GB, free: 28.7 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01568/0.7831, allocations: 9.932 MB / 0.5396 GB, free: 24.24 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03043/0.8135, allocations: 38.27 MB / 0.577 GB, free: 7.789 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.8136, allocations: 0.7812 kB / 0.577 GB, free: 7.789 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.994e-06/0.8136, allocations: 0 / 0.577 GB, free: 7.789 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.001064/0.8147, allocations: 0.6875 kB / 0.577 GB, free: 7.789 MB / 394.8 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.06196/0.8766, allocations: 22.04 MB / 0.5985 GB, free: 1.836 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.8767, allocations: 12.03 kB / 0.5985 GB, free: 1.824 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04278/0.9195, allocations: 8.354 MB / 0.6067 GB, free: 9.531 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02521/0.9447, allocations: 11.27 MB / 0.6177 GB, free: 14.69 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001241/0.946, allocations: 1.331 MB / 0.619 GB, free: 13.36 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00571/0.9517, allocations: 1.752 MB / 0.6207 GB, free: 11.62 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06292/1.015, allocations: 28.76 MB / 0.6488 GB, free: 14.81 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006359/1.015, allocations: 23.75 kB / 0.6488 GB, free: 14.79 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004756/1.02, allocations: 0.7242 MB / 0.6495 GB, free: 14.08 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000905/1.021, allocations: 0.8609 MB / 0.6503 GB, free: 13.21 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05187/1.073, allocations: 24.82 MB / 0.6746 GB, free: 4.371 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4503/1.523, allocations: 88.45 MB / 0.761 GB, free: 92.89 MB / 490.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02036/1.544, allocations: 35.19 MB / 0.7953 GB, free: 54.47 MB / 490.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007259/1.551, allocations: 5.38 MB / 0.8006 GB, free: 49.09 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005311/1.551, allocations: 294.1 kB / 0.8009 GB, free: 48.78 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/1.552, allocations: 91.12 kB / 0.801 GB, free: 48.68 MB / 490.9 MB Notification: Performance of pre-optimization done (n=589): time 7.184e-06/1.552, allocations: 4 kB / 0.801 GB, free: 48.67 MB / 490.9 MB Notification: Performance of matching and sorting (n=589): time 0.03044/1.582, allocations: 14.81 MB / 0.8154 GB, free: 33.76 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/1.582, allocations: 145.6 kB / 0.8156 GB, free: 33.59 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007858/1.59, allocations: 6.414 MB / 0.8218 GB, free: 27.23 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 0.000817/1.591, allocations: 121.7 kB / 0.8219 GB, free: 27.11 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.002988/1.594, allocations: 7.592 MB / 0.8294 GB, free: 19.47 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.001786/1.596, allocations: 2.054 MB / 0.8314 GB, free: 17.44 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00259/1.598, allocations: 2.099 MB / 0.8334 GB, free: 15.33 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 3.821e-05/1.598, allocations: 305.1 kB / 0.8337 GB, free: 15.03 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005844/1.604, allocations: 4.806 MB / 0.8384 GB, free: 10.21 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00859/1.613, allocations: 9.551 MB / 0.8477 GB, free: 14.42 MB / 0.495 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01841/1.631, allocations: 15.46 MB / 0.8628 GB, free: 12.65 MB / 0.5106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/1.631, allocations: 48 kB / 0.8629 GB, free: 12.6 MB / 0.5106 GB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.238/1.869, allocations: 15.54 MB / 0.878 GB, free: 160.7 MB / 0.5106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.87, allocations: 77.38 kB / 0.8781 GB, free: 160.7 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/1.87, allocations: 156.4 kB / 0.8783 GB, free: 160.7 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005567/1.875, allocations: 1.665 MB / 0.8799 GB, free: 160.7 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007766/1.883, allocations: 2.354 MB / 0.8822 GB, free: 160.7 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/1.896, allocations: 10.83 MB / 0.8928 GB, free: 157.1 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007094/1.903, allocations: 1.358 MB / 0.8941 GB, free: 156.6 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00157/1.905, allocations: 0.5252 MB / 0.8946 GB, free: 156.5 MB / 0.5106 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.01114/1.916, allocations: 7.15 MB / 0.9016 GB, free: 153.4 MB / 0.5106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/1.917, allocations: 0.6174 MB / 0.9022 GB, free: 153.1 MB / 0.5106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01457/1.932, allocations: 10.29 MB / 0.9122 GB, free: 149 MB / 0.5106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009892/1.942, allocations: 7.937 MB / 0.92 GB, free: 146 MB / 0.5106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/1.942, allocations: 11.34 kB / 0.92 GB, free: 146 MB / 0.5106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.122e-05/1.942, allocations: 30.98 kB / 0.92 GB, free: 146 MB / 0.5106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03885/1.981, allocations: 26.48 MB / 0.9459 GB, free: 126.4 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.428e-05/1.981, allocations: 8 kB / 0.9459 GB, free: 126.4 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003884/1.985, allocations: 1.009 MB / 0.9469 GB, free: 125.6 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00498/1.99, allocations: 1.467 MB / 0.9483 GB, free: 124.5 MB / 0.5106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009773/1.991, allocations: 127.6 kB / 0.9484 GB, free: 124.4 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/2.002, allocations: 10.41 MB / 0.9586 GB, free: 114.7 MB / 0.5106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/2.002, allocations: 11.56 kB / 0.9586 GB, free: 114.7 MB / 0.5106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02849/2.031, allocations: 24.02 MB / 0.9821 GB, free: 90.2 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003699/2.034, allocations: 1.448 MB / 0.9835 GB, free: 88.72 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/2.036, allocations: 112 kB / 0.9836 GB, free: 88.61 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003359/2.039, allocations: 323.7 kB / 0.9839 GB, free: 88.3 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007867/2.04, allocations: 404.4 kB / 0.9843 GB, free: 87.9 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003022/2.04, allocations: 168 kB / 0.9844 GB, free: 87.73 MB / 0.5106 GB Notification: Performance of sorting global known variables: time 0.005474/2.046, allocations: 4.305 MB / 0.9886 GB, free: 83.46 MB / 0.5106 GB Notification: Performance of sort global known variables: time 2.51e-07/2.046, allocations: 0 / 0.9886 GB, free: 83.46 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.01167/2.057, allocations: 4.365 MB / 0.9929 GB, free: 79.08 MB / 0.5106 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.001216/2.059, allocations: 323.3 kB / 0.9932 GB, free: 78.77 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 0.01552/2.074, allocations: 11.5 MB / 1.004 GB, free: 67.22 MB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/2.074, allocations: 4 kB / 1.004 GB, free: 67.22 MB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 0.00679/2.081, allocations: 4.736 MB / 1.009 GB, free: 62.46 MB / 0.5106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007501/2.088, allocations: 1.482 MB / 1.011 GB, free: 61.01 MB / 0.5106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05386/2.142, allocations: 40.25 MB / 1.05 GB, free: 20.55 MB / 0.5106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01786/2.16, allocations: 11.42 MB / 1.061 GB, free: 9.086 MB / 0.5106 GB Notification: Performance of simCode: alias equations: time 0.208/2.368, allocations: 3.768 MB / 1.065 GB, free: 145.4 MB / 0.5106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002174/2.371, allocations: 0.5174 MB / 1.065 GB, free: 145.4 MB / 0.5106 GB Notification: Performance of SimCode: time 7.42e-07/2.371, allocations: 0 / 1.065 GB, free: 145.4 MB / 0.5106 GB Notification: Performance of Templates: time 0.1559/2.526, allocations: 103.6 MB / 1.166 GB, free: 77.45 MB / 0.5106 GB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches