Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 111.6 kB / 17.29 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 193.3 kB / 18.21 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 47.89 kB / 300.8 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09081/0.09199, allocations: 49.44 MB / 350.2 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004974/0.097, allocations: 3.788 MB / 354 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.09907, allocations: 0.9853 MB / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004405/0.09954, allocations: 23.88 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004193/0.1, allocations: 119.2 kB / 355.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.1011, allocations: 266.7 kB / 355.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.1014, allocations: 107.9 kB / 355.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.103, allocations: 1.412 MB / 356.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.1044, allocations: 1.217 MB / 358.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008583/0.1052, allocations: 0.6425 MB / 358.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.1065, allocations: 0.7901 MB / 359.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003216/0.1068, allocations: 160 kB / 359.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.1072, allocations: 163.9 kB / 359.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004627/0.1077, allocations: 474.7 kB / 360.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000971/0.1087, allocations: 0.735 MB / 361.1 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.11, allocations: 1.7 MB / 362.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.1101, allocations: 4 kB / 362.8 MB, free: 8.102 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1101, allocations: 4 kB / 362.8 MB, free: 8.098 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.106e-05/0.1101, allocations: 0 / 362.8 MB, free: 8.098 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002744/0.1129, allocations: 1.691 MB / 364.5 MB, free: 6.352 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1129, allocations: 8.031 kB / 364.5 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.1132, allocations: 143.2 kB / 364.6 MB, free: 6.203 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.1143, allocations: 0.8578 MB / 365.5 MB, free: 5.301 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.1144, allocations: 82.62 kB / 365.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.1146, allocations: 119.9 kB / 365.7 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.117, allocations: 1.568 MB / 367.3 MB, free: 3.488 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.117, allocations: 4 kB / 367.3 MB, free: 3.484 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.1172, allocations: 44 kB / 367.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.1172, allocations: 28 kB / 367.3 MB, free: 3.414 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.1194, allocations: 1.34 MB / 368.7 MB, free: 2.066 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1715/0.2909, allocations: 4.308 MB / 373 MB, free: 23.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.2919, allocations: 1.336 MB / 374.3 MB, free: 22.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009071/0.2929, allocations: 0.5271 MB / 374.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.2929, allocations: 5.906 kB / 374.8 MB, free: 22.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.293, allocations: 42.98 kB / 374.9 MB, free: 22.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=51): time 2.555e-06/0.293, allocations: 0 / 374.9 MB, free: 22.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=51): time 0.001431/0.2944, allocations: 0.8736 MB / 375.8 MB, free: 21.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.2944, allocations: 60.92 kB / 375.8 MB, free: 21.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.2955, allocations: 0.8233 MB / 376.6 MB, free: 21.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.2955, allocations: 36.45 kB / 376.7 MB, free: 21.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000275/0.2958, allocations: 0.5436 MB / 377.2 MB, free: 21.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.2959, allocations: 178.8 kB / 377.4 MB, free: 21.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.2961, allocations: 103.9 kB / 377.5 MB, free: 21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2962, allocations: 382.1 kB / 377.9 MB, free: 20.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004542/0.2967, allocations: 307.5 kB / 378.2 MB, free: 20.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.2972, allocations: 394.7 kB / 378.6 MB, free: 20.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009439/0.2982, allocations: 0.689 MB / 379.3 MB, free: 20.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2982, allocations: 3.938 kB / 379.3 MB, free: 20.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001222/0.2994, allocations: 0.8209 MB / 380.1 MB, free: 19.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.2995, allocations: 8.531 kB / 380.1 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.2995, allocations: 7.875 kB / 380.1 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.2995, allocations: 4.031 kB / 380.1 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005979/0.3001, allocations: 149.8 kB / 380.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3001, allocations: 4.234 kB / 380.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.3005, allocations: 66.7 kB / 380.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.3006, allocations: 25.41 kB / 380.3 MB, free: 19.72 MB / 302.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.0006615/0.3012, allocations: 464.4 kB / 380.8 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.3014, allocations: 71.72 kB / 380.9 MB, free: 19.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.3015, allocations: 93.8 kB / 381 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.3015, allocations: 5.719 kB / 381 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.3015, allocations: 0.6562 kB / 381 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3016, allocations: 2.25 kB / 381 MB, free: 19.37 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.3045, allocations: 1.95 MB / 382.9 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3045, allocations: 1.094 kB / 382.9 MB, free: 18.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/0.305, allocations: 121 kB / 383 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3051, allocations: 3.25 kB / 383 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.3051, allocations: 19.03 kB / 383.1 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.3051, allocations: 3.281 kB / 383.1 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3051, allocations: 1.688 kB / 383.1 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.3065, allocations: 1.124 MB / 384.2 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.3067, allocations: 173.2 kB / 384.3 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.356e-05/0.3068, allocations: 9.453 kB / 384.4 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.3072, allocations: 51.47 kB / 384.4 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/0.3073, allocations: 36.52 kB / 384.4 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.3074, allocations: 17.11 kB / 384.5 MB, free: 17.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007279/0.3081, allocations: 0.5916 MB / 385.1 MB, free: 17.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3081, allocations: 0 / 385.1 MB, free: 17.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007262/0.3088, allocations: 283.5 kB / 385.3 MB, free: 17.46 MB / 302.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.00012/0.309, allocations: 120.5 kB / 385.4 MB, free: 17.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.3102, allocations: 0.8026 MB / 386.2 MB, free: 17.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3102, allocations: 1.656 kB / 386.3 MB, free: 17.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.3106, allocations: 320.7 kB / 386.6 MB, free: 17.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008716/0.3115, allocations: 186 kB / 386.7 MB, free: 16.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.3147, allocations: 2.787 MB / 389.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/0.3154, allocations: 1.312 MB / 390.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.3156, allocations: 60.7 kB / 390.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3156, allocations: 1.375 kB / 390.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Templates: time 0.01484/0.3305, allocations: 13.28 MB / 404.2 MB, free: 3.285 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches