Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.0009111/0.0009111, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.00497/0.00497, allocations: 165.1 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.876/0.876, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/2.995e-05, allocations: 10.28 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004687/0.004717, allocations: 3.489 MB / 329.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.007155, allocations: 1.044 MB / 330.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004771/0.007632, allocations: 35.75 kB / 330.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.008035, allocations: 150.8 kB / 330.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.009113, allocations: 322 kB / 330.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.00946, allocations: 143.7 kB / 331 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.01087, allocations: 1.459 MB / 332.5 MB, free: 8.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000861/0.01173, allocations: 0.6435 MB / 333.1 MB, free: 8.066 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.01297, allocations: 0.9473 MB / 334 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.01412, allocations: 0.7248 MB / 334.8 MB, free: 6.391 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002878/0.0144, allocations: 164 kB / 334.9 MB, free: 6.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.01471, allocations: 164 kB / 335.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003937/0.01511, allocations: 486.6 kB / 335.6 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006754/0.01578, allocations: 0.5145 MB / 336.1 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.01788, allocations: 2.115 MB / 338.2 MB, free: 2.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.01789, allocations: 0 / 338.2 MB, free: 2.957 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.01789, allocations: 0 / 338.2 MB, free: 2.957 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.602e-05/0.01794, allocations: 0 / 338.2 MB, free: 2.957 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002992/0.02093, allocations: 1.646 MB / 339.8 MB, free: 1.273 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.02097, allocations: 8.031 kB / 339.9 MB, free: 1.266 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004702/0.02144, allocations: 184 kB / 340 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.02283, allocations: 0.8584 MB / 340.9 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.409e-05/0.0229, allocations: 86.62 kB / 341 MB, free: 108 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.02305, allocations: 108.4 kB / 341.1 MB, free: 0 / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.02598, allocations: 1.727 MB / 342.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.02601, allocations: 0 / 342.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.02614, allocations: 48 kB / 342.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.02617, allocations: 32 kB / 342.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.02785, allocations: 1.328 MB / 344.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003667/0.03151, allocations: 3.722 MB / 347.9 MB, free: 8.945 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.03209, allocations: 0.6194 MB / 348.6 MB, free: 8.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.03261, allocations: 0.5024 MB / 349.1 MB, free: 7.816 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.03263, allocations: 4.5 kB / 349.1 MB, free: 7.809 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.03265, allocations: 39.06 kB / 349.1 MB, free: 7.762 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 2.515e-06/0.03266, allocations: 4 kB / 349.1 MB, free: 7.758 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.0008633/0.03352, allocations: 0.8752 MB / 350 MB, free: 6.879 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.03355, allocations: 59.91 kB / 350 MB, free: 6.805 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006001/0.03415, allocations: 0.8008 MB / 350.8 MB, free: 5.992 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.03418, allocations: 37.7 kB / 350.9 MB, free: 5.949 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.03442, allocations: 0.5662 MB / 351.4 MB, free: 5.375 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.0345, allocations: 186.4 kB / 351.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.93e-05/0.0346, allocations: 102.3 kB / 351.7 MB, free: 5.086 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.03471, allocations: 386.7 kB / 352.1 MB, free: 4.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.03499, allocations: 305.1 kB / 352.4 MB, free: 4.402 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.03529, allocations: 395.4 kB / 352.8 MB, free: 3.984 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/0.03586, allocations: 0.6856 MB / 353.5 MB, free: 3.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.03587, allocations: 0 / 353.5 MB, free: 3.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007074/0.03657, allocations: 0.8249 MB / 354.3 MB, free: 2.438 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.03659, allocations: 8 kB / 354.3 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.0366, allocations: 0 / 354.3 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.03661, allocations: 4 kB / 354.3 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.03691, allocations: 147.8 kB / 354.5 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.03692, allocations: 8 kB / 354.5 MB, free: 2.273 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.0371, allocations: 59.59 kB / 354.5 MB, free: 2.215 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.03712, allocations: 20.09 kB / 354.5 MB, free: 2.195 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003444/0.03746, allocations: 473.7 kB / 355 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.136e-05/0.03752, allocations: 75.53 kB / 355.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.03761, allocations: 87.08 kB / 355.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.03761, allocations: 8 kB / 355.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.03762, allocations: 0 / 355.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.03762, allocations: 3.984 kB / 355.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.03913, allocations: 1.685 MB / 356.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.03913, allocations: 7.875 kB / 356.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.03937, allocations: 115.9 kB / 357 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.03938, allocations: 12.14 kB / 357 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.0394, allocations: 12 kB / 357 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.0394, allocations: 4 kB / 357 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.0394, allocations: 4 kB / 357 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008864/0.04029, allocations: 1.12 MB / 358.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.246e-05/0.04038, allocations: 103.4 kB / 358.2 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.04043, allocations: 11.98 kB / 358.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.04062, allocations: 47.95 kB / 358.3 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.04068, allocations: 48.31 kB / 358.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.0407, allocations: 19.98 kB / 358.4 MB, free: 14.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004165/0.04112, allocations: 0.5732 MB / 358.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04112, allocations: 0 / 358.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003828/0.0415, allocations: 283.1 kB / 359.2 MB, free: 13.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001063/0.0416, allocations: 123.1 kB / 359.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005909/0.0422, allocations: 0.6307 MB / 360 MB, free: 12.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.0422, allocations: 0 / 360 MB, free: 12.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.04246, allocations: 311.5 kB / 360.3 MB, free: 12.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.04294, allocations: 162.8 kB / 360.4 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.04493, allocations: 2.231 MB / 362.6 MB, free: 9.922 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.04537, allocations: 0.7212 MB / 363.4 MB, free: 9.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.04549, allocations: 60.48 kB / 363.4 MB, free: 9.105 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.04549, allocations: 0 / 363.4 MB, free: 9.105 MB / 330.7 MB Notification: Performance of Templates: time 0.0106/0.05609, allocations: 13.79 MB / 377.2 MB, free: 11.36 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.282138830982149]