Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001497/0.001497, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.249e-05, allocations: 3.625 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.006018/0.006051, allocations: 3.507 MB / 328.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002751/0.008801, allocations: 1.046 MB / 329.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004039/0.009205, allocations: 36.41 kB / 329.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004456/0.009651, allocations: 160.7 kB / 329.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.01081, allocations: 325.8 kB / 330.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.01119, allocations: 134.5 kB / 330.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001839/0.01303, allocations: 1.468 MB / 331.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009954/0.01402, allocations: 0.6524 MB / 332.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/0.01544, allocations: 0.9568 MB / 333.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/0.01671, allocations: 0.7242 MB / 334 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.01695, allocations: 159.9 kB / 334.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.0173, allocations: 165.5 kB / 334.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005327/0.01783, allocations: 488.9 kB / 334.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007638/0.01859, allocations: 0.5224 MB / 335.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.02102, allocations: 2.122 MB / 337.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.02102, allocations: 0 / 337.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.02102, allocations: 0 / 337.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.082e-05/0.02106, allocations: 3.938 kB / 337.4 MB, free: 8.578 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.003491/0.02455, allocations: 1.646 MB / 339.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.02459, allocations: 11.98 kB / 339.1 MB, free: 6.883 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005568/0.02515, allocations: 180 kB / 339.3 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.02683, allocations: 0.8661 MB / 340.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.945e-05/0.02692, allocations: 90.62 kB / 340.2 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.02711, allocations: 108.4 kB / 340.3 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003066/0.03018, allocations: 1.739 MB / 342.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.03021, allocations: 4 kB / 342.1 MB, free: 3.793 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.03033, allocations: 44 kB / 342.1 MB, free: 3.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.588e-05/0.03039, allocations: 42.25 kB / 342.2 MB, free: 3.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/0.03279, allocations: 1.336 MB / 343.5 MB, free: 2.359 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006977/0.03977, allocations: 3.738 MB / 347.2 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.04079, allocations: 0.6225 MB / 347.9 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.04181, allocations: 0.4946 MB / 348.4 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.04184, allocations: 8.5 kB / 348.4 MB, free: 13.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.04189, allocations: 43 kB / 348.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 2.534e-06/0.04189, allocations: 0 / 348.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.002016/0.04391, allocations: 0.8713 MB / 349.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.044, allocations: 63.91 kB / 349.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.04569, allocations: 0.8086 MB / 350.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.802e-05/0.04576, allocations: 33.7 kB / 350.2 MB, free: 11.51 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007222/0.04649, allocations: 0.5662 MB / 350.7 MB, free: 10.94 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.04671, allocations: 178.5 kB / 350.9 MB, free: 10.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.047, allocations: 106.3 kB / 351 MB, free: 10.65 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000331/0.04733, allocations: 390.7 kB / 351.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008233/0.04815, allocations: 301.1 kB / 351.7 MB, free: 9.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009318/0.04908, allocations: 403.3 kB / 352.1 MB, free: 9.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.05083, allocations: 0.6856 MB / 352.8 MB, free: 8.828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.05083, allocations: 4 kB / 352.8 MB, free: 8.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002312/0.05314, allocations: 0.817 MB / 353.6 MB, free: 8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.05317, allocations: 10.66 kB / 353.6 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.05318, allocations: 0 / 353.6 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/0.05321, allocations: 12.28 kB / 353.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.05423, allocations: 147.8 kB / 353.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-05/0.05426, allocations: 11.94 kB / 353.8 MB, free: 7.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007371/0.05499, allocations: 59.59 kB / 353.8 MB, free: 7.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-05/0.05506, allocations: 20 kB / 353.9 MB, free: 7.746 MB / 318.1 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.00117/0.05623, allocations: 465.7 kB / 354.3 MB, free: 7.281 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.05646, allocations: 83.45 kB / 354.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.05671, allocations: 91.08 kB / 354.5 MB, free: 7.102 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.505e-06/0.05672, allocations: 8 kB / 354.5 MB, free: 7.094 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.05673, allocations: 4 kB / 354.5 MB, free: 7.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.05674, allocations: 3.984 kB / 354.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004487/0.06123, allocations: 1.685 MB / 356.2 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.06124, allocations: 4 kB / 356.2 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007687/0.06201, allocations: 119.8 kB / 356.3 MB, free: 5.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.087e-05/0.06202, allocations: 4 kB / 356.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/0.06207, allocations: 8 kB / 356.3 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.408e-06/0.06208, allocations: 4 kB / 356.3 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.06208, allocations: 0 / 356.3 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.06451, allocations: 1.136 MB / 357.5 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.06479, allocations: 91.44 kB / 357.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.06494, allocations: 15.98 kB / 357.6 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006877/0.06563, allocations: 51.95 kB / 357.6 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.06576, allocations: 36.44 kB / 357.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.46e-05/0.06582, allocations: 19.98 kB / 357.7 MB, free: 3.836 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001186/0.06701, allocations: 0.5732 MB / 358.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.06701, allocations: 0 / 358.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001167/0.06817, allocations: 295 kB / 358.5 MB, free: 2.98 MB / 318.1 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.0001942/0.06837, allocations: 119.1 kB / 358.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.07003, allocations: 0.6307 MB / 359.3 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.07003, allocations: 0 / 359.3 MB, free: 2.223 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008118/0.07084, allocations: 310.6 kB / 359.6 MB, free: 1.922 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.07231, allocations: 175.5 kB / 359.7 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005534/0.07784, allocations: 2.232 MB / 362 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.07909, allocations: 0.7605 MB / 362.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007764/0.07987, allocations: 205.5 kB / 362.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.08013, allocations: 52.5 kB / 363 MB, free: 14.41 MB / 334.1 MB Notification: Performance of SimCode: time 8.41e-07/0.08013, allocations: 0 / 363 MB, free: 14.41 MB / 334.1 MB Notification: Performance of Templates: time 0.02955/0.1097, allocations: 9.76 MB / 372.7 MB, free: 4.828 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 4.649528205394745]