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.0008922/0.0008919, allocations: 178.9 kB / 17.04 MB, free: 5.113 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.212/1.212, allocations: 223.3 MB / 241 MB, free: 10.07 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.0007032/0.0007031, allocations: 105.3 kB / 292.2 MB, free: 10.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002205/0.0002205, allocations: 4 kB / 351.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1939, allocations: 50.4 MB / 402.2 MB, free: 32.52 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01577/0.2097, allocations: 24.68 MB / 426.9 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.2213, allocations: 6.533 MB / 433.4 MB, free: 1.211 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004/0.2253, allocations: 235.3 kB / 433.7 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003448/0.2288, allocations: 1.366 MB / 435 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007358/0.2362, allocations: 2.226 MB / 437.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00463/0.2408, allocations: 1.365 MB / 438.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02668/0.2675, allocations: 23.03 MB / 461.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06757/0.3351, allocations: 35.64 MB / 497.3 MB, free: 1.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009958/0.3451, allocations: 6.744 MB / 0.4922 GB, free: 10.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01148/0.3566, allocations: 7.759 MB / 0.4998 GB, free: 2.605 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00334/0.36, allocations: 1.141 MB / 0.5009 GB, free: 1.465 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00569/0.3657, allocations: 1.383 MB / 0.5023 GB, free: 84 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.3207/0.6865, allocations: 3.197 MB / 0.5054 GB, free: 39.34 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.006831/0.6933, allocations: 3.598 MB / 0.5089 GB, free: 39.31 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02776/0.7211, allocations: 33.25 MB / 0.5414 GB, free: 24.05 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.7211, allocations: 1.406 kB / 0.5414 GB, free: 24.05 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.675e-06/0.7212, allocations: 0 / 0.5414 GB, free: 24.05 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001173/0.7223, allocations: 1.719 kB / 0.5414 GB, free: 24.05 MB / 378.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.04894/0.7713, allocations: 18.25 MB / 0.5592 GB, free: 15.32 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.7713, allocations: 10.84 kB / 0.5592 GB, free: 15.32 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06506/0.8364, allocations: 8.358 MB / 0.5674 GB, free: 9.227 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03233/0.8688, allocations: 11.17 MB / 0.5783 GB, free: 2.715 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001649/0.8705, allocations: 1.339 MB / 0.5796 GB, free: 1.953 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007951/0.8784, allocations: 1.757 MB / 0.5813 GB, free: 0.7852 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07223/0.9507, allocations: 28.62 MB / 0.6092 GB, free: 6.898 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005718/0.9513, allocations: 19.81 kB / 0.6093 GB, free: 6.879 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004909/0.9563, allocations: 0.7215 MB / 0.61 GB, free: 6.168 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008114/0.9571, allocations: 0.8648 MB / 0.6108 GB, free: 5.301 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04992/1.007, allocations: 24.68 MB / 0.6349 GB, free: 12.61 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.287/1.294, allocations: 88.2 MB / 0.721 GB, free: 105.2 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02174/1.316, allocations: 35.14 MB / 0.7554 GB, free: 76.18 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006557/1.322, allocations: 5.355 MB / 0.7606 GB, free: 73.5 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/1.323, allocations: 209 kB / 0.7608 GB, free: 73.37 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/1.323, allocations: 92 kB / 0.7609 GB, free: 73.29 MB / 474.8 MB Notification: Performance of pre-optimization done (n=589): time 7.013e-06/1.323, allocations: 0 / 0.7609 GB, free: 73.29 MB / 474.8 MB Notification: Performance of matching and sorting (n=589): time 0.02695/1.35, allocations: 14.52 MB / 0.7751 GB, free: 64.94 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/1.35, allocations: 133.7 kB / 0.7752 GB, free: 64.79 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007638/1.358, allocations: 6.37 MB / 0.7814 GB, free: 58.48 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007984/1.358, allocations: 117.7 kB / 0.7815 GB, free: 58.36 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003186/1.362, allocations: 7.598 MB / 0.7889 GB, free: 50.72 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001686/1.363, allocations: 2.045 MB / 0.7909 GB, free: 48.69 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004914/1.364, allocations: 212 kB / 0.7911 GB, free: 48.48 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0003877/1.364, allocations: 0.7479 MB / 0.7919 GB, free: 47.73 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005709/1.37, allocations: 4.771 MB / 0.7965 GB, free: 42.95 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007556/1.377, allocations: 9.509 MB / 0.8058 GB, free: 31.24 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008377/1.386, allocations: 7.165 MB / 0.8128 GB, free: 24.04 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.662e-05/1.386, allocations: 48 kB / 0.8129 GB, free: 23.99 MB / 474.8 MB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.02332/1.409, allocations: 15.46 MB / 0.8279 GB, free: 8.449 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000112/1.409, allocations: 72 kB / 0.828 GB, free: 8.379 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002231/1.41, allocations: 160 kB / 0.8282 GB, free: 8.223 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005222/1.415, allocations: 1.684 MB / 0.8298 GB, free: 6.539 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006942/1.422, allocations: 2.348 MB / 0.8321 GB, free: 4.188 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/1.435, allocations: 10.84 MB / 0.8427 GB, free: 9.215 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006673/1.441, allocations: 1.35 MB / 0.844 GB, free: 7.852 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/1.443, allocations: 0.5273 MB / 0.8445 GB, free: 7.324 MB / 490.8 MB 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 (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,75.0%) 80} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01082/1.453, allocations: 7.145 MB / 0.8515 GB, free: 164 kB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/1.455, allocations: 0.6134 MB / 0.8521 GB, free: 15.54 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/1.469, allocations: 10.27 MB / 0.8621 GB, free: 5.168 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1805/1.65, allocations: 7.889 MB / 0.8698 GB, free: 161.3 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.341e-05/1.65, allocations: 11.56 kB / 0.8698 GB, free: 161.3 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.578e-05/1.65, allocations: 30.75 kB / 0.8699 GB, free: 161.3 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03439/1.684, allocations: 26.2 MB / 0.8955 GB, free: 153 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.241e-05/1.684, allocations: 8.984 kB / 0.8955 GB, free: 153 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00339/1.687, allocations: 1.008 MB / 0.8965 GB, free: 152.9 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004631/1.692, allocations: 1.466 MB / 0.8979 GB, free: 152.7 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003182/1.692, allocations: 137.1 kB / 0.898 GB, free: 152.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/1.703, allocations: 10.39 MB / 0.9082 GB, free: 147.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/1.703, allocations: 14.84 kB / 0.9082 GB, free: 147.2 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01572/1.719, allocations: 14.32 MB / 0.9222 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002924/1.722, allocations: 1.459 MB / 0.9236 GB, free: 135.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009165/1.723, allocations: 111.7 kB / 0.9237 GB, free: 135 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002598/1.725, allocations: 323.6 kB / 0.924 GB, free: 134.8 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005684/1.726, allocations: 413 kB / 0.9244 GB, free: 134.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002893/1.726, allocations: 167.9 kB / 0.9246 GB, free: 134.3 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005764/1.732, allocations: 4.254 MB / 0.9287 GB, free: 130.2 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.11e-07/1.732, allocations: 4 kB / 0.9287 GB, free: 130.2 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008947/1.741, allocations: 4.031 MB / 0.9326 GB, free: 126.1 MB / 0.4949 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 (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%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008437/1.742, allocations: 335.1 kB / 0.933 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01323/1.755, allocations: 11.45 MB / 0.9442 GB, free: 114.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.755, allocations: 0 / 0.9442 GB, free: 114.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004987/1.76, allocations: 4.707 MB / 0.9487 GB, free: 109.7 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006144/1.766, allocations: 1.501 MB / 0.9502 GB, free: 108.2 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03845/1.805, allocations: 34.72 MB / 0.9841 GB, free: 73.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008341/1.813, allocations: 10.91 MB / 0.9948 GB, free: 62.35 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002061/1.815, allocations: 0.5736 MB / 0.9953 GB, free: 61.78 MB / 0.4949 GB Notification: Performance of SimCode: time 8.61e-07/1.815, allocations: 0 / 0.9953 GB, free: 61.78 MB / 0.4949 GB Notification: Performance of Templates: time 0.6454/2.461, allocations: 280 MB / 1.269 GB, free: 188.9 MB / 0.5418 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/jenkins1/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