Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009348/0.0009348, allocations: 75.77 kB / 22.46 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009248/0.0009248, allocations: 168 kB / 25.75 MB, free: 8.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8555/0.8555, allocations: 158.6 MB / 187.5 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.27e-05, allocations: 2.312 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006681/0.006703, allocations: 7.556 MB / 258.7 MB, free: 192 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004641/0.01134, allocations: 2.707 MB / 261.4 MB, free: 13.47 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008856/0.01223, allocations: 75.38 kB / 261.5 MB, free: 13.4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.01352, allocations: 0.5822 MB / 262 MB, free: 12.81 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.01521, allocations: 0.7917 MB / 262.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007233/0.01593, allocations: 451.2 kB / 263.3 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002812/0.01874, allocations: 3.532 MB / 266.8 MB, free: 8.027 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.0207, allocations: 1.868 MB / 268.7 MB, free: 6.102 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.02364, allocations: 2.523 MB / 271.2 MB, free: 3.59 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002026/0.02567, allocations: 1.996 MB / 273.2 MB, free: 1.59 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004757/0.02614, allocations: 460 kB / 273.6 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007995/0.02694, allocations: 0.6479 MB / 274.3 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.02803, allocations: 1.317 MB / 275.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.02928, allocations: 1.376 MB / 277 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002914/0.03219, allocations: 3.338 MB / 280.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.0322, allocations: 0 / 280.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.0322, allocations: 0 / 280.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.728e-05/0.03225, allocations: 0 / 280.3 MB, free: 10.45 MB / 266.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.004356/0.0366, allocations: 4.005 MB / 284.3 MB, free: 6.383 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.03664, allocations: 11.98 kB / 284.3 MB, free: 6.371 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008592/0.0375, allocations: 0.6353 MB / 285 MB, free: 5.734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.03943, allocations: 1.708 MB / 286.7 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.03955, allocations: 214.2 kB / 286.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/0.03983, allocations: 300.3 kB / 287.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00334/0.04317, allocations: 2.492 MB / 289.7 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.056e-05/0.04321, allocations: 0 / 289.7 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/0.04338, allocations: 120 kB / 289.8 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.04351, allocations: 133.9 kB / 289.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.04552, allocations: 1.014 MB / 290.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009706/0.05523, allocations: 8.343 MB / 299.3 MB, free: 7.055 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.05635, allocations: 0.8671 MB / 300.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.05746, allocations: 0.7918 MB / 300.9 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.05763, allocations: 52.95 kB / 301 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.05768, allocations: 58.39 kB / 301 MB, free: 5.281 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 3.877e-06/0.05768, allocations: 0 / 301 MB, free: 5.281 MB / 282.7 MB Notification: Performance of matching and sorting (n=133): time 0.004773/0.06245, allocations: 2.766 MB / 303.8 MB, free: 2.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.06251, allocations: 90.42 kB / 303.9 MB, free: 2.371 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.06391, allocations: 1.401 MB / 305.3 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/0.06397, allocations: 49.7 kB / 305.3 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000691/0.06466, allocations: 1.454 MB / 306.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.06494, allocations: 495.9 kB / 307.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/0.06523, allocations: 289.1 kB / 307.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.06535, allocations: 476.8 kB / 308 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/0.06575, allocations: 227.8 kB / 308.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006367/0.06639, allocations: 0.7673 MB / 309 MB, free: 12.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.06749, allocations: 1.073 MB / 310.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.0675, allocations: 4 kB / 310.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.002152/0.06965, allocations: 1.308 MB / 311.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.06967, allocations: 12 kB / 311.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.06968, allocations: 8 kB / 311.4 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.07072, allocations: 393.2 kB / 311.8 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007173/0.07144, allocations: 327.5 kB / 312.1 MB, free: 9.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002825/0.07427, allocations: 3.333 MB / 315.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/0.07494, allocations: 87.95 kB / 315.6 MB, free: 6.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.882e-05/0.07503, allocations: 71.91 kB / 315.6 MB, free: 6.047 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.0005808/0.07561, allocations: 244.1 kB / 315.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003004/0.07591, allocations: 226.8 kB / 316.1 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.0774, allocations: 1.061 MB / 317.1 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.9e-05/0.07742, allocations: 16 kB / 317.2 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.07743, allocations: 4 kB / 317.2 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.07744, allocations: 11.97 kB / 317.2 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004652/0.08209, allocations: 3.469 MB / 320.6 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.0821, allocations: 7.938 kB / 320.7 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000533/0.08263, allocations: 219.7 kB / 320.9 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000967/0.0836, allocations: 375.8 kB / 321.2 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.08366, allocations: 35.98 kB / 321.3 MB, free: 280 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002686/0.08635, allocations: 3.31 MB / 324.6 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.08635, allocations: 4 kB / 324.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.08871, allocations: 1.531 MB / 326.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/0.08924, allocations: 338.8 kB / 326.4 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/0.08937, allocations: 35.95 kB / 326.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004838/0.08986, allocations: 91.89 kB / 326.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.09003, allocations: 104.7 kB / 326.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/0.09009, allocations: 43.98 kB / 326.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009458/0.09104, allocations: 0.8145 MB / 327.5 MB, free: 9.84 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.09104, allocations: 0 / 327.5 MB, free: 9.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001428/0.09247, allocations: 0.5546 MB / 328.1 MB, free: 9.285 MB / 314.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.0005151/0.09298, allocations: 231.2 kB / 328.3 MB, free: 9.062 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.09466, allocations: 1.201 MB / 329.5 MB, free: 7.848 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.09466, allocations: 0 / 329.5 MB, free: 7.848 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009178/0.09558, allocations: 0.7955 MB / 330.3 MB, free: 7.035 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.09672, allocations: 448.5 kB / 330.7 MB, free: 6.594 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006616/0.1033, allocations: 4.897 MB / 335.6 MB, free: 1.602 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006563/0.104, allocations: 0.8752 MB / 336.5 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008055/0.1048, allocations: 365.8 kB / 336.9 MB, free: 348 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.1051, allocations: 128.5 kB / 337 MB, free: 216 kB / 314.7 MB Notification: Performance of SimCode: time 2.054e-06/0.1051, allocations: 0 / 337 MB, free: 216 kB / 314.7 MB Notification: Performance of Templates: time 0.1376/0.2427, allocations: 27.65 MB / 364.6 MB, free: 96.68 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3152831909246743]